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 @deprecated
}

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 VapeEcommerce 3.21

margin ● Int

Gross margin percentage value.

Requires the MANAGE_PRODUCTSpermission.
Show deprecatedHide deprecated

preorderThreshold ● PreorderThreshold

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.

Preorder variant data.

Interfaces

Node

An object with an ID

Member Of

ProductVariant object