Skip to main content
Version: 3.x

ProductTypeCreate

Creates a new product type.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
type ProductTypeCreate {
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
productType: ProductType
}

Fields

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

DEPRECATED

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

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

ProductTypeCreate.productType ● ProductType object

Returned by

productTypeCreate mutation


Was this page helpful?