ChannelListingUpdateInput Input Type
input ChannelListingUpdateInput {
channelListing: ID!
price: PositiveDecimal
costPrice: PositiveDecimal
priorPrice: PositiveDecimal
preorderThreshold: Int @deprecated(reason: "Preorder is deprecated and will be removed. Model pre-sales with regular stock instead: create the planned quantity in a warehouse, or set `trackInventory` to false to sell without a stock limit.")
isAvailableForPurchase: Boolean
}
Fields
channelListing
channelListing · ID!
ID of a channel listing.
price
price · PositiveDecimal
Price of the particular variant in channel.
costPrice
costPrice · PositiveDecimal
Cost price of the variant in channel.
priorPrice
priorPrice · PositiveDecimal
Price of the variant before discount.
preorderThreshold
preorderThreshold · Int
The threshold for preorder variant in channel.
isAvailableForPurchase
isAvailableForPurchase · Boolean
Determines whether the variant can be bought in this channel. When omitted, the current value is kept.
Added in Saleor 3.23Used by
Schema: Saleor 3.23.43. Download SDL.