SaleAddCatalogues
Adds products, categories, collections to a sale.
DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionRuleCreate mutation instead.
Triggers the following webhook events:
- SALE_UPDATED (async): A sale was updated.
type SaleAddCatalogues {
sale: Sale
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}
Fields
SaleAddCatalogues.sale ● Sale object discounts
Sale of which catalogue IDs will be modified.
SaleAddCatalogues.discountErrors ● [DiscountError!]! deprecated non-null object discounts
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
SaleAddCatalogues.errors ● [DiscountError!]! non-null object discounts
Returned By
saleCataloguesAdd mutation