SaleBulkDelete
Deletes sales.
Triggers the following webhook events:
- SALE_DELETED (async): A sale was deleted.
type SaleBulkDelete {
count: Int!
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}
Fields
SaleBulkDelete.count
● Int!
non-null scalar miscellaneous
Returns how many objects were affected.
SaleBulkDelete.discountErrors
● [DiscountError!]!
deprecated non-null object discounts
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errors
field instead.
SaleBulkDelete.errors
● [DiscountError!]!
non-null object discounts
Returned By
saleBulkDelete
mutation