201Successful Response
Schema: SuccessEnvelope_CostBreakdown_
successbooleanmessagestringcodestringdataCostBreakdown
/api/v1/inventory/production/runs/{run_id}/calculateRecalculate costs without persisting. Override total_units and/or unit_sale_price.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
run_idstringrequiredSchema: RunCalculateRequest
total_unitsintegerunit_sale_priceintegerSchema: SuccessEnvelope_CostBreakdown_
successbooleanmessagestringcodestringdataCostBreakdownSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject