Get Replenishment Index Status
Returns the rebuild lifecycle of the Warehouse’s published Replenishment Index: the requested, building, and published generations, whether the published generation satisfies the newest request, and failure diagnostics.
Poll this endpoint until generation_current is true and status is idle, then read the
published report at /v1/inventory/warehouses/{id}/replenishment-report — its meta carries
the same published_generation, generation_current, and generation_published_at values.
A Warehouse that has never had a rebuild requested returns NULL status and NULL generations;
only an unknown Warehouse is 404.
Authorizations
Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.
Path Parameters
The id of the referenced Warehouse.
Response
The Warehouse's current Replenishment Index rebuild status.
Rebuild lifecycle of one Warehouse's published Replenishment Index. A Warehouse that has never had a rebuild requested reads as NULL status and NULL generations, whether or not internal bookkeeping has already created a state row for it.