What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

Solved

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

deepaksamria
Excursionist
15 0 10
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 Partner
4853 60 568

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 Partner
4853 60 568

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