Skip to main content

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 products

DEPRECATED

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

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

ProductVariantCreate.productVariant ● ProductVariant object products

Returned By

productVariantCreate mutation