Graphql - Query Cost, Sync or Async, Maximum number of Inventory item id

Solved
deepaksamria
Tourist
7 0 1
Hi Team,


We are integrating Shopify with one of our apps. For using Graphql we have a few questions:


- How does Shopify calculate the cost of Graphql?

- Mutation InventoryBulkAdjustQuantitiesAtLocation sync or async?

- Mutation InventoryBulkAdjustQuantitiesAtLocation: What is the maximum number of inventroyItemId we can update the inventory at a single location?


I really appreciate any help you can provide.

Regards
Accepted Solution (1)
HunkyBill
Shopify Expert
4843 60 546

This is an accepted solution.

Call costs are easy to monitor as they are included in every call. Ideally, you build your query against the API with a tool and get your cost estimate before you use the query. Otherwise, you just get rejected for being too expensive. Monitor your remaining costs and you can easily continuously make calls by simply delaying when you are out of juice.

 

Mutation calls have nothing to do with async/sync. Just make your calls.

You can update up to 100 SKUs at once at one location using those mutations.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com

View solution in original post

Reply 1 (1)
HunkyBill
Shopify Expert
4843 60 546

This is an accepted solution.

Call costs are easy to monitor as they are included in every call. Ideally, you build your query against the API with a tool and get your cost estimate before you use the query. Otherwise, you just get rejected for being too expensive. Monitor your remaining costs and you can easily continuously make calls by simply delaying when you are out of juice.

 

Mutation calls have nothing to do with async/sync. Just make your calls.

You can update up to 100 SKUs at once at one location using those mutations.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com