Skip to main content
Version: 3.x

ProductVariantCreate

Creates a new variant for a product.

Requires MANAGE_PRODUCTSpermission.
type ProductVariantCreate {
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
productVariant: ProductVariant
}

Fields

ProductVariantCreate.productErrors ● [ProductError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

ProductVariantCreate.errors ● [ProductError!]! non-null object

ProductVariantCreate.productVariant ● ProductVariant object

Returned by

productVariantCreate mutation


Was this page helpful?