Production Batches
Create production batch
Records the production of a finished item from a recipe. Consumes ingredient inventory and adds the produced output to stock. Returns HTTP 202.
POST
string
required
API key with
inventory:write scope.string
required
Vendor UUID.
string
required
Idempotency key (1–128 chars).
string
required
Actor for audit trail.
string
required
UUID of the store where production occurred.
string
required
UUID of the published recipe snapshot used. Retrieve this from the recipes lookup endpoint.
object
required
The actual quantity produced:
string
ISO 8601 timestamp of production (defaults to
now()).string
Lot code to assign to produced output (max 128 chars).
string
Expiry timestamp for the produced lot.
object[]
Override the default ingredient consumption amounts:
string
Optional notes (max 500 chars).
object
Free-form extra data.
string
Polling token.
string
Transaction UUID.
string
Created production batch UUID.
boolean
true if duplicate.
