# About the GraphQL API category

**URL:** <https://community.shiphero.com/t/about-the-graphql-api-category/18>\
**Category:** GraphQL API\
**Created:** [July 11, 2019, 2:34pm UTC](https://community.shiphero.com/t/about-the-graphql-api-category/18 "2019-07-11T14:34:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sh-dev](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/sh-dev/32/755_2.png) [@sh-dev](https://community.shiphero.com/u/sh-dev)\
**Post date:** [July 11, 2019, 2:34pm UTC](https://community.shiphero.com/t/about-the-graphql-api-category/18/1 "2019-07-11T14:34:19Z")

</div>

Found any bugs? Need help making a particular call? This is your place

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [February 14, 2020, 2:16pm UTC](https://community.shiphero.com/t/about-the-graphql-api-category/18/3 "2020-02-14T14:16:30Z")

</div>

Hi @khanhnc46 !  
Would a query like this one work for you?:

```
query {
  inventory_changes(
    sku: "testingSKU"
    date_from: "2020-01-01"
    date_to: "2020-02-01"
  ) {
    request_id
    complexity
    data(first: 10) {
      edges {
        node {
          user_id
          account_id
          warehouse_id
          sku
          previous_on_hand
          change_in_on_hand
          reason
          created_at
        }
      }
    }
  }
}

```

And in the reason field you should see if it was shipped on an order or it’s inventory was manually changed, for example:

“reason”: “Order \<a href=”/dashboard/orders/details/1111111"\>#MO706 shipped"

Let me know if this doesn’t help!  
Thanks,  
Tom

---

<div class="post-metadata">

**Author:** ![khanhnc46](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@khanhnc46](https://community.shiphero.com/u/khanhnc46)\
**Post date:** [February 17, 2020, 11:08pm UTC](https://community.shiphero.com/t/about-the-graphql-api-category/18/4 "2020-02-17T23:08:27Z")

</div>

Hi @tomasw !

that helps, only thing is I have to go through every product and apply that query for each.

Thanks.
