Skip to main content

product

Retrieve detailed information about a specific product.

Returns comprehensive product data including specifications, pricing, availability, media, categories, and attributes. Can be accessed by product ID, SKU, or slug with language-specific support for localized content.

Possible errors:

  • PRODUCT_FETCH_ERROR: Failed to retrieve product information
  • MISSING_ARGUMENTS: No valid product identifier provided
  • ELASTICSEARCH_NO_RESULT: Product not found in search index
product(
id: Int
productId: Int
slug: String
sku: String
language: String
applyOrderlists: Boolean = true
orderlistIds: [Int!]
hidden: Boolean
): Product!

Arguments

product.id ● Int scalar

Legacy product identifier (deprecated).

Use productId instead. This field will be removed in future versions.

product.productId ● Int scalar

Unique numeric identifier of the product.

Primary product ID used throughout the system. Either this, slug, or sku must be provided.

product.slug ● String scalar

URL-friendly product identifier.

Human-readable product identifier used in URLs. Can be language-specific when used with the language parameter.

product.sku ● String scalar

Stock Keeping Unit identifier.

Unique product code used for inventory management and product identification across systems.

product.language ● String scalar

Language code for localized slug lookup.

ISO 639-1 uppercase language code (e.g., 'EN', 'NL', 'DE') used when searching by slug to find language-specific product URLs.

product.applyOrderlists ● Boolean scalar

Enable orderlist-based product filtering.

When true, applies orderlist restrictions to determine product visibility and availability based on customer permissions.

product.orderlistIds ● [Int!] list scalar

Specific orderlists to apply for product filtering.

List of orderlist IDs to use for determining product visibility. If not specified, uses default orderlists based on customer context.

product.hidden ● Boolean scalar

Include hidden products in results.

When true, includes products marked as hidden. When false or not specified, only shows visible products.

Type

Product object

Product entity representing items in the product catalog.

External entity from the product service that provides basic product identification and categorization. Used as a reference for product-specific attributes and relationships within the attribute system.