Skip to main content

saleChannelListingUpdate Mutation

Manage sale's availability in channels.

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

Requires MANAGE_DISCOUNTSpermission.
saleChannelListingUpdate(
id: ID!
input: SaleChannelListingInput!
): SaleChannelListingUpdate

Arguments

saleChannelListingUpdate.id ● ID! non-null scalar miscellaneous

ID of a sale to update.

saleChannelListingUpdate.input ● SaleChannelListingInput! non-null input discounts

Fields required to update sale channel listings.

Type

SaleChannelListingUpdate object discounts

Manage sale's availability in channels.

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

Requires MANAGE_DISCOUNTSpermission.