Get SKU recipe
GET/skus/:skuId/recipe
Returns the recipe (also called the formulation or bill of materials) for a SKU. The response lists every ingredient with its quantity, unit of measure, inventory code, and sequence order within the recipe. The batchSize and batchUnit at the top level tell you what one batch produces — divide ingredient quantities by batch size to get per-unit usage.
Request
Response
- 200
- 401
- 404
Recipe ingredients
Unauthorized — missing or invalid API key
Resource not found
Response
{
"skuId": null,
"skuName": null,
"batchSize": null,
"batchUnit": null,
"ingredients": [
{
"ingredientId": "2087",
"ingredientName": "Organic Tahini",
"inventoryCode": "INV-000312",
"sequenceOrder": 1,
"quantity": 12.5,
"unit": "lbs",
"notes": null
}
]
}