Retrieve Product

GET/store/:storeCode/products/:id
publishable key

Retrieve a product by ID.

Use `fields` to expand relations (`*variants`, `*options`, `*images`) and `region_id` for variant `calculated_price`.

Path Parameters
storeCoderequiredstring

Store slug in the URL (first argument to every SDK store method).

idrequiredstring

The product's ID.

Query Parameters
fieldsstring

Comma-separated fields to include. Prefix with `*` to expand a relation (e.g. `id,*variants`).

region_idstring

Region ID for calculated prices.

country_codestring

Country code for pricing context.

cart_idstring

Cart ID for pricing context.

Response

Status

200OK

Schema

Copy
HttpTypes.StoreProductResponse

Properties

productrequiredStoreProduct

The product.