voucherCataloguesRemove Mutation
Removes products, categories, collections from a voucher.
Triggers the following webhook events:
- VOUCHER_UPDATED (async): A voucher was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [VOUCHER_UPDATED], syncEvents: [])
voucherCataloguesRemove(id: ID!, input: CatalogueInput!): VoucherRemoveCatalogues
Returns
Show return type
type VoucherRemoveCatalogues {
voucher: Voucher
discountErrors: [DiscountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [DiscountError!]!
}Arguments
id
id · ID!
ID of a voucher.
input
input · CatalogueInput!
Fields required to modify catalogue IDs of voucher.
Schema: Saleor 3.23.43. Download SDL.