Skip to main content

ChannelListingUpdateInput Input Type

No description

input ChannelListingUpdateInput {
channelListing: ID!
price: PositiveDecimal
costPrice: PositiveDecimal
priorPrice: PositiveDecimal
preorderThreshold: Int @deprecated
isAvailableForPurchase: Boolean
}

Fields​

channelListing ● ID!​

ID of a channel listing.

price ● PositiveDecimal​

Price of the particular variant in channel.

costPrice ● PositiveDecimal​

Cost price of the variant in channel.

priorPrice ● PositiveDecimal​

Price of the variant before discount.

isAvailableForPurchase ● Boolean​

Determines whether the variant can be bought in this channel. When omitted, the current value is kept.

Added in Saleor 3.23
Show deprecatedHide deprecated

preorderThreshold ● Int​

DEPRECATED

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.

The threshold for preorder variant in channel.

Member Of​

ProductVariantChannelListingUpdateInput input