Skip to main content

ProductVariantChannelListing Object

Represents product variant channel listing.

type ProductVariantChannelListing implements Node {
id: ID!
channel: Channel!
price: Money
costPrice: Money
priorPrice: Money
margin: Int
preorderThreshold: PreorderThreshold
}

Fields

id ● ID!

The ID of the variant channel listing.

channel ● Channel!

The channel to which the variant listing belongs.

price ● Money

The price of the variant.

costPrice ● Money

Cost price of the variant.

priorPrice ● Money

Previous price of the variant in channel. Useful for providing promotion information required by customer protection laws such as EU Omnibus directive.

Warning: This field is not updated automatically. Use Channel Listings mutation to update it manually.

Added in Saleor 3.21

margin ● Int

Gross margin percentage value.

Requires the MANAGE_PRODUCTSpermission.

preorderThreshold ● PreorderThreshold

Preorder variant data.

Interfaces

Node

An object with an ID

Member Of

ProductVariant object