Skip to main content

productVariantCreate Mutation

Creates a new variant for a product.

Requires MANAGE_PRODUCTSpermission.
productVariantCreate(
input: ProductVariantCreateInput!
): ProductVariantCreate

Arguments

productVariantCreate.input ● ProductVariantCreateInput! non-null input products

Fields required to create a product variant.

Type

ProductVariantCreate object products

Creates a new variant for a product.

Requires MANAGE_PRODUCTSpermission.