For the complete documentation index, see llms.txt. This page is also available as Markdown.

🎯 Exercise 8

Build a Dynamic Workflow which takes variant ID Array as input and returns an array whether variants are in stock or not.

Dynamic Payload Sample:

["47361364721842", "47361364787378"]

Expected Response Data:

["In Stock", "Out of Stock"]

🛠️ Shopify Store Setup — Before You Begin

  1. Go to Products → Add Product

  2. Add a title (e.g., Cotton T-Shirt)

  3. Under Variants, add a variant (e.g., Size - Small /Medium / Large)

  4. Set the inventory quantity (e.g., 10, 5, 0)

  5. Save the product

  6. 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?