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

POST to API with Form rails? – Shopify

I am triyng to create a new Product to the shopify API. when i put this in my controller: new_product = ShopifyAPI::Product.new new_product.title = "Burton Custom Freestlye 151" new_product.product_type = "Snowboard" new_product.vendor = "Burton" new_product.save It will create a new…

VIEW QUESTION
Back To Top
Search