Shopify · Arazzo Workflow
Shopify Add a Variant to an Existing Product
Version 1.0.0
Confirm a product exists, add a new variant to it, then read the variant list back.
Provider
Workflows
add-variant-to-product
Add a new variant to an existing product and confirm via the variant list.
Confirms the product, appends a new variant carrying price and option values, and reads the variant list back to verify the addition.
1
confirmProduct
getProduct
Read the target product to confirm it exists before adding a variant.
2
addVariant
createProductVariant
Add a new variant to the confirmed product with its own price, SKU, and option value.
3
listVariants
listProductVariants
List the product's variants to confirm the new variant was added.