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

Arguments

product.id ● ID scalar miscellaneous

ID of the product.

product.slug ● String scalar miscellaneous

Slug of the product.

product.slugLanguageCode ● LanguageCodeEnum enum miscellaneous

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

Added in Saleor 3.21

product.externalReference ● String scalar miscellaneous

External ID of the product.

product.channel ● String scalar miscellaneous

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

Type

Product object products

Represents an individual item for sale in the storefront.