🎯 Exercise 8
Last updated
Was this helpful?
Dynamic Payload Sample:
["47361364721842", "47361364787378"]
Expected Response Data:
["In Stock", "Out of Stock"]
Go to Products → Add Product
Add a title (e.g., Cotton T-Shirt)
Under Variants, add a variant (e.g., Size - Small /Medium / Large)
Set the inventory quantity (e.g., 10, 5, 0)
Save the product
Under Variant, Open the hyperlink Small— copy the Variant ID from the URL
💡 The URL will look like: your-store.myshopify.com/admin/products/123456/variants/12345678 That last number is your variant_id to use in the payload.
Similarly copy the variant_id for Large
Last updated
Was this helpful?
Was this helpful?