Products By ID

Get Single Product by ID:

Get a single ProductProduct - A product in Violet is a top level wrapper that acts as a parent for any offers from merchants who are selling this product. A top level product is not purchasable, instead it provides a collection of offers from merchants selling this product in addition to metadata around the product. with all offers for that product included.

curl https://sandbox-api.violet.io/v1/catalog/products/{product_id} \
-H "X-Violet-App-Id: your-app-id-here" \
-H "X-Violet-App-Secret: your-app-secret-here" \
-H "X-Violet-Token: your-token-here" \

Querying Multiple Products:

For applications that require querying multiple products in one request, a comma separated list of up to 10 ID's can be provided in place of a single ID. When the number of ID's is greater than 1 the response will contain a list of products.

curl https://sandbox-api.violet.io/v1/catalog/products/{product_id},{product_id_2},{product_id_3} \
-H "X-Violet-App-Id: your-app-id-here" \
-H "X-Violet-App-Secret: your-app-secret-here" \
-H "X-Violet-Token: your-token-here" \