Skip to main content

productTypeCreate Mutation

Creates a new product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productTypeCreate(
input: ProductTypeInput!
): ProductTypeCreate
Details
type ProductTypeCreate {
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
productType: ProductType
}

Arguments

input ● ProductTypeInput!

Fields required to create a product type.

Type

ProductTypeCreate

Creates a new product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.