Skip to main content

saleCataloguesAdd

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

Arguments

saleCataloguesAdd.id ● ID! non-null scalar miscellaneous

ID of a sale.

saleCataloguesAdd.input ● CatalogueInput! non-null input discounts

Fields required to modify catalogue IDs of sale.

Type

SaleAddCatalogues object discounts

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.