ProductVariantChannelListingAddInput Input Type
input ProductVariantChannelListingAddInput {
channelId: 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
channelId
channelId · ID!
ID of a channel.
price
price · PositiveDecimal!
Price of the particular variant in channel.
costPrice
costPrice · PositiveDecimal
Cost price of the variant in channel.
priorPrice
priorPrice · PositiveDecimal
Previous price of the variant in channel. Useful for providing promotion information required by customer protection laws such as EU Omnibus directive.
Added in Saleor 3.21preorderThreshold
preorderThreshold · Int
The threshold for preorder variant in channel.
isAvailableForPurchase
isAvailableForPurchase · Boolean
Determines whether the variant can be bought in this channel. When omitted on an existing listing, the current value is kept.
Added in Saleor 3.23Used by
- ProductVariantBulkCreateInput (inputs)
- ProductVariantChannelListingUpdateInput (inputs)
- productVariantChannelListingUpdate (mutations)
Schema: Saleor 3.23.43. Download SDL.