📍
Bolt Help / Core Products / Checkout Everywhere / Get Product Details for Checkout Everywhere
Learn how to fetch product details such as color, size, quantity, and cost.
Use Cases
- You want to fetch a product’s details such as its size, color, price, or weight — in addition to any related product variants (e.g., a limited edition version or alternative colors and patterns).
- You want to fetch the current product inventory available.
Approach
To retrieve the product details for a given product, send a GET
request to the https://api.bolt.com/v1/products
endpoint using the unique merchant_product_id
and merchant_division_id
as query parameters in your URL.
Required Parameters
Query Parameter | Description |
---|---|
merchant_division_id | Bolt’s public ID for the merchant’s division. |
Optional Parameters
Query Parameter | Description |
---|---|
sku | The Product’s SKU. |
merchant_product_id | The Merchant’s unique identifier for the product. |
merchant_variant_id | The Merchant’s unique identifier for a product’s variant. |
bolt_product_id | Bolt’s generated unique identifier for the product. |
limit | The maximum number of variants returned per request. |
cursor | The unique identifier of the Variant to fetch if request results are paginated. |
cURL Request
curl -X GET \
'https://api.bolt.com/v1/products?merchant_product_id=881&merchant_division_id=4ab56ad7865ada4ad32' \
-H 'X-Nonce: <12-digit-unique-integer>' \
-H 'X-Publisher-Key: <unique-publisher-id' \
-H 'X-Authorization-Signature: <generated-after-using-secret-and-nonce>'