Skip to content
Generated from the production schema (commit fbf0d6e).

product

Fetch one product by slug or ID.

Integration: Catalogue and stock feed

Required permission: None (public). Public. Without MANAGE_PRODUCTS only a published product is returned (null otherwise), and fields restricted to MANAGE_PRODUCTS (such as ProductVariant.stocks) come back empty. With MANAGE_PRODUCTS, unpublished products are returned too.

query {
product(
slug: String = null
id: ID = null
): Product
}
Argument Type Default Description
slug String null
id ID null

Product