Skip to content
Navigation

Retrieve a storefront product

GET
https://{store_domain}/api/store/products/{id}

Returns one published product with its variants, prices, options, images, categories, and collection. Prices are resolved for the region, currency, quantity, and customer context.

Authorization

  • publishableKey
    API key in header
    required

    x-publishable-api-key: <token>

Path parameters

  • id
    string
    required

Query parameters

  • region_id
    optional
    string
  • currency_code
    optional
    string
  • quantity
    optional
    integer

    Quantity used to resolve quantity-based prices.

    minimum: 1
  • locale
    optional
    string

    Locale used for translated product fields.

Returns

200

The product.

JSON
  • product
    object
    required
    • id
      string
      required
    • title
      string
      required
    • handle
      string
      required
    • status
      draft
      or
      proposed
      or
      published
      or
      rejected
      required
    • variants
      array of
      object
      required
      • id
        string
        required
      • title
        string
        required
      • sku
        optional
        string | null
      • calculated_price
        optional

        One of the following:

        • CalculatedPrice
          • calculated_amount
            integer
            required

            Price in minor units after price-list and customer rules.

          • original_amount
            integer
            required
          • currency_code
            string
            required
          • price_list_id
            optional
            string | null
          • price_list_type
            optional
            string | null
        • null
      • inventory_quantity
        optional
        integer | null
    • subtitle
      optional
      string | null
    • description
      optional
      string | null
    • thumbnail
      optional
      string | null

401

The publishable API key is missing or invalid.
JSON
  • type
    string
    required
  • message
    string
    required
  • code
    optional
    string

404

The product is not published or not visible in this sales channel.
JSON
  • type
    string
    required
  • message
    string
    required
  • code
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close