Skip to main content
Version: 3.x

ProductChannelListing

Represents product channel listing.

type ProductChannelListing implements Node {
id: ID!
publicationDate: Date
publishedAt: DateTime
isPublished: Boolean!
channel: Channel!
visibleInListings: Boolean!
availableForPurchase: Date
availableForPurchaseAt: DateTime
discountedPrice: Money
purchaseCost: MoneyRange
margin: Margin
isAvailableForPurchase: Boolean
pricing(address: AddressInput): ProductPricingInfo
}

Fields

id (ID!)

publicationDate (Date)

publishedAt (DateTime)

The product publication date time.

Added in Saleor 3.3.

isPublished (Boolean!)

channel (Channel!)

visibleInListings (Boolean!)

availableForPurchase (Date)

availableForPurchaseAt (DateTime)

The product available for purchase date time.

Added in Saleor 3.3.

discountedPrice (Money)

The price of the cheapest variant (including discounts).

purchaseCost (MoneyRange)

Purchase cost of product.

Requires one of the following permissions: MANAGE_PRODUCTS.

margin (Margin)

Range of margin percentage value.

Requires one of the following permissions: MANAGE_PRODUCTS.

isAvailableForPurchase (Boolean)

Whether the product is available for purchase.

pricing (ProductPricingInfo)

Lists the storefront product's pricing, the current price and discounts, only meant for displaying.

Destination address used to find warehouses where stock availability for this product is checked. If address is empty, uses Shop.companyAddress or fallbacks to server's settings.DEFAULT_COUNTRY configuration.

Interfaces

Node

An object with an ID