skip to Main Content

How to use variables in GraphQL mutation for bulk adjust inventory? – Shopify

I trying to bulk adjust inventory item of my Shopify product variants as explained in this article: https://www.shopify.com/partners/blog/multi-location_and_graphql I tried hardcoding the variants ID in the query and it worked great : <<-'GRAPHQL' mutation { inventoryBulkAdjustQuantityAtLocation( locationId: "gid://shopify/Location/5537988719", inventoryItemAdjustments: […

VIEW QUESTION
Back To Top
Search