200Successful Response
Schema: SuccessEnvelope_AgingResponse_
successbooleanmessagestringcodestringdataAgingResponse
/api/v1/inventory/reports/agingBucket remaining cost-lot quantities (and dollars) by lot age (0-30 / 31-60 / 61-90 / 91-180 / 180+ days). Optionally returns the per-variant detail with the oldest received_at.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
detailbooleandefault: FalseInclude per-variant breakdown sorted by oldest lot age.
detail_limitintegerdefault: 100Cap on per-variant detail rows when detail=true.
Schema: SuccessEnvelope_AgingResponse_
successbooleanmessagestringcodestringdataAgingResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject