Skip to main content
Version: 3.x

SaleAddCatalogues

Adds products, categories, collections to a sale.

DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionRuleCreate mutation instead.

Requires MANAGE_DISCOUNTSpermission.

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

Sale of which catalogue IDs will be modified.

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

DEPRECATED

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

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

Returned by

saleCataloguesAdd mutation


Was this page helpful?