Skip to main content
GET
Get Replenishment Index Status

Authorizations

Authorization
string
header
required

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

id
integer<int32>
required

The id of the referenced Warehouse.

Response

The Warehouse's current Replenishment Index rebuild status.

resource
ReplenishmentIndexStatus · object

Publication lifecycle of one Warehouse's Replenishment Index. A Warehouse that has never had a rebuild requested reads as NULL status and NULL revisions/generations, whether or not internal bookkeeping has already created a state row for it, unless a recovery failure described below overrides the status in API version 2026-08 or later.

From API version 2026-08 the resource uses the normalized publication vocabulary — status is one of building, catching_up, fresh, or failed (or NULL when never published) — plus the requested/building/built revisions, the dirty and poison backlog counts and age, the last full reconciliation time, and the sanitized error with its support request ID. These values come from the same operations snapshot as the report collection meta, so the two can never disagree.

Requests pinned to version 2025-07 keep the previous vocabulary: status is one of idle, building, superseded, or failed (a published generation reads idle whether or not its catch-up backlog is drained), generation_current continues to mean the built revision satisfies the newest request, and the generation/timestamp fields below are returned instead of the revision/backlog fields. Before the lane-keyed index is promoted, the legacy report rows are frozen: published_generation and generation_published_at are NULL and generation_current is false when rebuild state exists even though the shadow build state continues to advance.

Example: