Skip to main content

VoucherBulkDelete

Deletes vouchers.

Requires MANAGE_DISCOUNTSpermission.
type VoucherBulkDelete {
count: Int!
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}

Fields

VoucherBulkDelete.count ● Int! non-null scalar

Returns how many objects were affected.

VoucherBulkDelete.discountErrors ● [DiscountError!]! deprecated non-null object

DEPRECATED

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

VoucherBulkDelete.errors ● [DiscountError!]! non-null object

Returned by

voucherBulkDelete mutation


Was this page helpful?