capabilities.work

Create Product With Variant

A 3-step recipe with Shopify. We can help you get access.

Recipe · 3 steps

Create Product With Variant

with Shopify · Item Master Data Management

Create a product and attach a sellable variant, returning the assembled product.

  1. Create the product shell with its descriptive fields. Shopify auto-creates a default variant which the next step supplements.
  2. Add a priced, SKU-bearing variant to the newly created product so it can be sold and inventory-tracked.
  3. Read the finished product back so callers receive the complete record including all variants and images.
What you'll need to have ready
  • title: The product title (e.g. "Merino Wool Beanie").
  • bodyHtml: Product description in HTML.
  • vendor: The product vendor.
  • productType: A categorization for the product.
  • status: Product status (active, archived, or draft).
  • variantTitle: The variant title or option value (e.g. "Default", "Large").
  • price: The variant price as a decimal string (e.g. "24.99").
  • sku: Stock keeping unit for the variant.
For your developer

Arazzo workflow shopify:create-product-with-variant, 3 operations: createProduct → createProductVariant → getProduct. Specs on APIs.io.