ProductChannelListing Object
Represents product channel listing.
type ProductChannelListing implements Node {
id: ID!
publicationDate: Date @deprecated(reason: "Use the `publishedAt` field to fetch the publication date.")
publishedAt: DateTime
isPublished: Boolean!
channel: Channel!
visibleInListings: Boolean!
availableForPurchase: Date @deprecated(reason: "Use the `availableForPurchaseAt` field to fetch the available for purchase date.")
availableForPurchaseAt: DateTime
discountedPrice: Money
purchaseCost: MoneyRange
margin: Margin
isAvailableForPurchase: Boolean
pricing(address: AddressInput): ProductPricingInfo
}
Interfaces
Fields
id
id · ID!
The ID of the product channel listing.
publicationDate
publicationDate · Date
publishedAt
publishedAt · DateTime
The product publication date time.
isPublished
isPublished · Boolean!
Indicates if the product is published in the channel.
channel
channel · Channel!
The channel in which the product is listed.
visibleInListings
visibleInListings · Boolean!
Indicates product visibility in the channel listings.
availableForPurchase
availableForPurchase · Date
availableForPurchaseAt
availableForPurchaseAt · DateTime
The product available for purchase date time.
discountedPrice
discountedPrice · Money
The price of the cheapest variant (including discounts).
purchaseCost
purchaseCost · MoneyRange
Purchase cost of product.
margin
margin · Margin
Range of margin percentage value.
isAvailableForPurchase
isAvailableForPurchase · Boolean
Refers to a state that can be set by admins to control whether a product is available for purchase in storefronts in this channel. This does not guarantee the availability of stock. When set to False, this product is still visible to customers, but it cannot be purchased.
pricing
pricing · ProductPricingInfo
Lists the storefront product’s pricing, the current price and discounts, only meant for displaying.
address
address · AddressInput
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.
Used by
Schema: Saleor 3.23.43. Download SDL.