Skip to main content

product Query

Look up a product by ID.

Requires one of the following permissions to include the unpublished items: MANAGE_ORDERSMANAGE_DISCOUNTSMANAGE_PRODUCTS
product(
id: ID
slug: String
slugLanguageCode: LanguageCodeEnum
externalReference: String
channel: String
): Product
Show return type

Arguments

id ● ID

ID of the product.

slug ● String

Slug of the product.

slugLanguageCode ● LanguageCodeEnum

Language code of the product slug, omit to use primary slug.

Added in Saleor 3.21

externalReference ● String

External ID of the product.

channel ● String

Slug of a channel for which the data should be returned.

Type

Product

Represents an individual item for sale in the storefront.