Skip to main content

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 discounts

Sale of which catalogue IDs will be modified.

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

DEPRECATED

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

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

Returned By

saleCataloguesRemove mutation