Calculate the Bill of Materials for a single recipe.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Calculate what ingredients you need to order for a given recipe and outlet. The response includes needed quantities, current stock levels, outstanding orders, and supplier package options with pricing.
Requires the procurement scope and the Ordering module.
Quantity fields
Unrequested quantities return null. For example, if consider_stock is false, the in_stock_quantity fields will be null.
Currency
No currency is included in the response. Use GET /library_settings/default_currency/ to get the library's currency.
Supplier packages
Supplier packages are sorted with the cheapest and last-ordered packages first. Use cheapest_package_id and last_ordered_package_id at the ingredient level for efficient lookup.
400Invalid request body.
403User lacks permission.
404Recipe or outlet not found, or belongs to a different library.
