Skip to main content

ProductVariantBulkDelete Object

Deletes product variants.

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

Fields

ProductVariantBulkDelete.count ● Int! non-null scalar miscellaneous

Returns how many objects were affected.

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

DEPRECATED

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

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

Returned By

productVariantBulkDelete mutation