Inventory aging report

GET/api/v1/inventory/reports/aging

Bucket 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.

Operation ID: get_aging_api_v1_inventory_reports_aging_get·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

Query

detailbooleandefault: False

Include per-variant breakdown sorted by oldest lot age.

detail_limitintegerdefault: 100

Cap on per-variant detail rows when detail=true.

Responses

200Successful Response

successboolean
messagestring
codestring
dataAgingResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject