product
Returns the details of a product based on the specified locator.
Usage​
Arguments
locator*IStoreSelectedFacetDescription
An array of selected search facets.
key*StringDescription
IStoreSelectedFacet property. To query information of a product by its SKU ID, use key:'id'.
value*StringDescription
IStoreSelectedFacet property. To query information of a product by its SKU ID, use value:'{sku}'.
- Query
 - Response
 
query ($locator: [IStoreSelectedFacet!]!) {
  product(locator: $locator) {
    # StoreProduct fields
  }
}
The product query returns a StoreProduct. To learn more about each field that can be queried check the StoreProduct reference.
Example​
Get the name, description, brand, image URL, and image alternate name of the product with the 97730863 SKU.