Skip to main content
Version: 3.x

SaleRemoveCatalogues

Removes products, categories, collections from a sale.

DEPRECATED: this mutation will be removed in Saleor 4.0. Use promotionRuleUpdate or promotionRuleDelete mutations instead.

Requires MANAGE_DISCOUNTSpermission.

Triggers the following webhook events:

  • SALE_UPDATED (async): A sale was updated.
type SaleRemoveCatalogues {
sale: Sale
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}

Fields

SaleRemoveCatalogues.sale ● Sale object

Sale of which catalogue IDs will be modified.

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

DEPRECATED

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

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

Returned by

saleCataloguesRemove mutation


Was this page helpful?