Skip to main content

productTypeBulkDelete Mutation

Deletes product types.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productTypeBulkDelete(
ids: [ID!]!
): ProductTypeBulkDelete
Details
type ProductTypeBulkDelete {
count: Int!
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

Arguments​

ids ● [ID!]!​

List of product type IDs to delete.

Type​

ProductTypeBulkDelete​

Deletes product types.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.