Skip to main content

CollectionBulkDelete Object

Deletes collections.

Requires MANAGE_PRODUCTSpermission.
type CollectionBulkDelete {
count: Int!
collectionErrors: [CollectionError!]! @deprecated
errors: [CollectionError!]!
}

Fields

CollectionBulkDelete.count ● Int! non-null scalar miscellaneous

Returns how many objects were affected.

CollectionBulkDelete.collectionErrors ● [CollectionError!]! deprecated non-null object products

DEPRECATED

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

CollectionBulkDelete.errors ● [CollectionError!]! non-null object products

Returned By

collectionBulkDelete mutation