Skip to main content

ProductVariantChannelListingAddInput Input Type

No description

input ProductVariantChannelListingAddInput {
channelId: ID!
price: PositiveDecimal!
costPrice: PositiveDecimal
priorPrice: PositiveDecimal
preorderThreshold: Int @deprecated
}

Fields​

channelId ● ID!​

ID of a channel.

price ● PositiveDecimal!​

Price of the particular variant in channel.

costPrice ● PositiveDecimal​

Cost price of the variant in channel.

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.21
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​

ProductVariantBulkCreateInput input ● productVariantChannelListingUpdate mutation ● ProductVariantChannelListingUpdateInput input