Complete production run

POST /api/v1/inventory/production/runs/{run_id}/complete

Mark a run as completed.

Operation ID: complete_run_api_v1_inventory_production_runs__run_id__complete_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

run_id string required

Responses

201 Successful Response

id string required
business_id string required
recipe_id string required
name string
total_units integer required
unit_sale_price integer required
status string required
cost_snapshot CostBreakdown
created_at string required
updated_at string required

400 Bad Request - Invalid input

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object