Skip to main content

ProductTypeBulkDelete

Deletes product types.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
type ProductTypeBulkDelete {
count: Int!
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

Fields

ProductTypeBulkDelete.count ● Int! non-null scalar miscellaneous

Returns how many objects were affected.

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

DEPRECATED

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

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

Returned By

productTypeBulkDelete mutation