Skip to main content

product

Returns the details of a product based on the specified locator.

Usage​

Arguments

locator*IStoreSelectedFacet
Description

An array of selected search facets.

key*String
Description

IStoreSelectedFacet property. To query information of a product by its SKU ID, use key:'id'.

value*String
Description

IStoreSelectedFacet property. To query information of a product by its SKU ID, use value:'{sku}'.

query ($locator: [IStoreSelectedFacet!]!) {
product(locator: $locator) {
# StoreProduct fields
}
}

Example​

Get the name, description, brand, image URL, and image alternate name of the product with the 97730863 SKU.

Didn't find your answers? Ask the Community. For documentation suggestions, submit your feedback.

JOIN THE COMMUNITY