Skip to main content

SaleChannelListingUpdate

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.
type SaleChannelListingUpdate {
sale: Sale
discountErrors: [DiscountError!]! @deprecated
errors: [DiscountError!]!
}

Fields

SaleChannelListingUpdate.sale ● Sale object discounts

An updated sale instance.

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

DEPRECATED

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

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

Returned By

saleChannelListingUpdate mutation