Catalog
Products by ID
Get all information about an individual Product such as description, brand, offers, related SKUs, variations, etc.
GET /catalog/products/{product_id}
Get a single Product with all offers for that product included. API Reference: Get Products
Request
Curl
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" \
Response:
JSON
{
"id": "3e622ea338294552be7309faeb185af2",
"name": "Sample Product Name",
"description": "Sample Product ",
"brand": "Sample Brand",
"available": true,
"visible": true,
"total_sales": 0,
"type": "PHYSICAL",
"currency": "USD",
"min_price": 67500,
"max_price": 72500,
"variants": [...],
"offers": [...],
"categories": [...],
"meta": [],
"tags": [],
"related_product_ids": [],
"cross_sale_product_ids": [],
"gtins": [],
"default_image_url": "<url to image>",
"qty_available": 149972,
"max_commission_rate": 10.0,
"merchant_ids": [
10003
],
"date_created": "2018-12-11T19:45:24+0000",
"date_last_modified": "2018-12-19T20:01:09+0000"
}
GET /catalog/products/,,
Returns a list of product infromation for the given comma separated list of Ids. Up to 10 products can be returned. API Reference: Get Products
Request
product_id
- Identifer for the product being requested
Curl
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" \
Response
JSON
[{
"id": "3e622ea338294552be7309faeb185af2",
"name": "Sample Product Name",
"description": "Sample Product ",
"brand": "Sample Brand",
"available": true,
"visible": true,
"total_sales": 0,
"type": "PHYSICAL",
"currency": "USD",
"min_price": 67500,
"max_price": 72500,
"variants": [...],
"offers": [...],
"categories": [...],
"meta": [],
"tags": [],
"related_product_ids": [],
"cross_sale_product_ids": [],
"gtins": [],
"default_image_url": "<url to image>",
"qty_available": 149972,
"max_commission_rate": 10.0,
"merchant_ids": [
10003
],
"date_created": "2018-12-11T19:45:24+0000",
"date_last_modified": "2018-12-19T20:01:09+0000"
},
{
"id": "3e622ea338294552be7309faeb185af3",
"name": "Sample Product Name 2",
"description": "Sample Product 2",
"brand": "Sample Brand",
"available": true,
"visible": true,
"total_sales": 0,
"type": "PHYSICAL",
"currency": "USD",
"min_price": 67500,
"max_price": 72500,
"variants": [...],
"offers": [...],
"categories": [...],
"meta": [],
"tags": [],
"related_product_ids": [],
"cross_sale_product_ids": [],
"gtins": [],
"default_image_url": "<url to image>",
"qty_available": 149972,
"max_commission_rate": 10.0,
"merchant_ids": [
10003
],
"date_created": "2018-12-11T19:45:24+0000",
"date_last_modified": "2018-12-19T20:01:09+0000"
}]