5ff905b3030cc211abb31fb7
.EXTRA_PRODUCT_FIELD_INVALID
- EXTRA_PRODUCT_FIELD_NUTRITION
For performance reasons, we recommend using this parameter only when required.1608886602824
.1610999038495
.{"products": [{"id": "string","name": "string","gtin": "string","description": "string","brand": "string","created_at": "string","updated_at": "string","images": [{"url": "string","responsive": {"url": "string","width": 0,"height": 0}}],"language": "string","price": {"rrp": {"currency_code": "string","cents": "string"}},"instructions": [{"text": "string","group": "string"}],"ingredients": [{"text": "string","group": "string"}],"url": "string","author": {"id": "string","name": "string","image": {"url": "string","responsive": {"url": "string","width": 0,"height": 0}}},"amount": {"unit": "string","quantity": 0},"serving_size": {"unit": "string","quantity": 0},"nutrition": [{"label": "string","code": "NUTRITION_CODE_INVALID","value": 0,"unit": "NUTRITION_UNIT_INVALID"}],"external_product_id": "string"}],"paging": {"total": "string","after": "string"}}
{"error_code": "REAL_CODES_ARE_IN_ENDPOINT_DESCRIPTION","message": "Additional details about error are not static and can be changed"}
auth.tokenNotFound
, auth.tokenExpired
, auth.tokenInvalid
, auth.tokenRequired
.{"code": "auth.tokenNotFound"}
This is unexpected response, something is wrong on our side, please contact: help@whisk.com
curl -X GET "https://api.studio.whisk.com/products/v1/get/batch?paging.limit=3&fields=EXTRA_PRODUCT_FIELD_NUTRITION&updated_at.max=1610999038495&integration_id=3a2b8cfd-27cd-4c81-ab79-e31e03e56c20"-H "Accept: application/json"-H "Authorization: Bearer <YOUR-API-ACCESS-KEY>"
Note: Whisk allows you to discover and understand its API capabilities on the Swagger interface with the ability to try out the API calls directly in your browser. You can call this endpoint here.
{"products": [{"id": "5febbcd1bc31826090025de5","name": "Bitchin' Sauce Original","gtin": "00123456789121","description": "The OG. Where Bitchin' began. Creamy lemon and garlic. Simple and Satisfying.","created_at": "1609284817642","updated_at": "1609284863384",...},{"id": "5ff905b3030cc211abb31fb7","name": "Hienz Ketchup","created_at": "1610155443277","updated_at": "1610155443277",...},{"id": "5fc68566968f2e51ce557699","name": "Boar's Head Naturally Smoked Bacon","created_at": "1606845798758","updated_at": "1608318685438",...}],"paging": {"total": "15","after": "3"}}
Note: To understand the data structure of the recipe definition, see Product Object.