Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to productVariantCreate

productVariantCreate

mutationDeprecated

Requires write_products access scope. Also: The user must have a permission to create a product variant.

Creates a product variant. Use productVariantsBulkCreate instead.

The properties for the new product variant.


Was this section helpful?

Anchor to ProductVariantCreatePayload returnsProductVariantCreatePayload returns

The product associated with the variant.

The successfully created variant.

The list of errors that occurred from executing the mutation.


Was this section helpful?