201Successful Response
Schema: SuccessEnvelope_ReorderCashImpactResponse_
successbooleanmessagestringcodestringdataReorderCashImpactResponse
/api/v1/inventory/reorder/cash-impactModel the effect of placing one or more (not-yet-created) purchase orders on the 13-week cash forecast. Runs the live forecast with and without the proposed POs and returns the delta -- including how far the projected cash low point moves -- so the operator can see the cash impact of a reorder before committing to it.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: ReorderCashImpactRequest
proposed_posarray · ProposedPurchaseOrderProposedPurchaseOrderamount_centsintegerrequiredTotal PO cost in cents.
week_numberintegerForecast week the cash leaves (1-indexed). Default 1.
expected_pay_datestringISO date the cash leaves (overrides week_number).
variant_idstringlabelstringweeksintegerSchema: SuccessEnvelope_ReorderCashImpactResponse_
successbooleanmessagestringcodestringdataReorderCashImpactResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject