VoucherBulkDelete Object
Deletes vouchers.
Triggers the following webhook events:
- VOUCHER_DELETED (async): A voucher was deleted.
Applied directives
@webhookEventsInfo(asyncEvents: [VOUCHER_DELETED], syncEvents: [])
type VoucherBulkDelete {
count: Int!
discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [DiscountError!]!
}
Fields
count
count · Int!
Returns how many objects were affected.
discountErrors
discountErrors · [DiscountError!]!
errors
errors · [DiscountError!]!
Used by
Schema: Saleor 3.23.43. Download SDL.