Skip to main content

saleCataloguesRemove

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.
saleCataloguesRemove(
id: ID!
input: CatalogueInput!
): SaleRemoveCatalogues

Arguments

saleCataloguesRemove.id ● ID! non-null scalar miscellaneous

ID of a sale.

saleCataloguesRemove.input ● CatalogueInput! non-null input discounts

Fields required to modify catalogue IDs of sale.

Type

SaleRemoveCatalogues object discounts

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.