Commerce

Get a product

One product with all its variants, options and images. Needs products.read. 404 product_not_found when the id does not exist in the store.

get/v1/commerce/products/{productId}

Path parameters

productIdstring required

Platform-native product id.

Query parameters

accountIdstring required

Connected store SocialAccount id.

Response

Product fetched

Example response

{
  "product": {
    "variants": [
      {
        "price": {
          "amount": "19.90",
          "currency": "USD"
        },
        "compareAtPrice": {
          "amount": "19.90",
          "currency": "USD"
        }
      }
    ]
  }
}

Changes

Changed in 2 of the 60 revisions of this API.2