Skip to main content
Log inSign up
Anchor to productVariantCreate

productVariantCreate

mutation

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

Deprecated. Use `productVariantsBulkCreate` instead.

Creates a product variant.

•

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?