voucherBulkDelete Mutation
Deletes vouchers.
Triggers the following webhook events:
- VOUCHER_DELETED (async): A voucher was deleted.
Applied directives
@webhookEventsInfo(asyncEvents: [VOUCHER_DELETED], syncEvents: [])
voucherBulkDelete(ids: [ID!]!): VoucherBulkDelete
Returns
Show return type
type VoucherBulkDelete {
count: Int!
discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [DiscountError!]!
}Arguments
ids
ids · [ID!]!
List of voucher IDs to delete.
Schema: Saleor 3.23.43. Download SDL.