/v1/inventory/ingredients
Ingredients (tenant-wide); q matches the name; outlet is checked against the caller's scope
operationId listIngredientsAuth
Member token+Tenant headerParameters
- outletin querystringoptionalpattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- qin querystringoptional
- limitin queryintegeroptional
- cursorin querystringoptionalpattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Response 200
- itemsarray of objectrequired
- namestringrequired
- base_unitstringrequiredpattern ^[a-z][a-z_]{0,15}$
- shelf_life_daysinteger | nullrequired≥ 1≤ 9007199254740991
- tracked_by_batchbooleanrequired
- activebooleanrequired
Errors
- 400Bad requestError
- 401UnauthenticatedError
- 403Not allowedError
- 404Not foundError
- 422Validation failedError
Every error body carries a code, a message and, where it applies, a reason_code. All error and reason codes.