Skip to main content

productTypeDelete Mutation

Deletes a product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productTypeDelete(
id: ID!
): ProductTypeDelete
Details
type ProductTypeDelete {
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
productType: ProductType
}

Arguments

id ● ID!

ID of a product type to delete.

Type

ProductTypeDelete

Deletes a product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.