Skip to main content
GET
List replenishment params

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Query Parameters

window_days
integer
default:90

Demand history window

Required range: 30 <= x <= 365
service_level
number

Applies to every item of this request; left out, each item and location plans on its own value in force (default 0.95)

Required range: 0.5 <= x <= 0.999
item
string

Narrow to one item (external id)

Maximum string length: 50
limit
integer
default:100
Required range: 1 <= x <= 200
cursor
string

next_cursor of the previous page. Opaque; valid only with the same filters

Maximum string length: 200

Response

OK

object
any
required
data
object[]
required
has_more
boolean
required

Whether a further page exists

next_cursor
string | null
required

Send as cursor for the next page; null on the last page

replenishment_params
object[]
required
deprecated

Deprecated: the same rows as data

window_days
integer
required

Demand history window used

service_level
number
required

The request's service level, else the account-wide value in force

service_level_source
enum<string>
required
Available options:
request,
default,
observed,
stated
data_as_of
string<date-time> | null
required

When the organization's data was last received; null before the first sync

demand_source
object
required
stale
boolean
required

True when the data is more than 24 hours old, or was never received

count
integer
required

Rows in this page

planning
object
required

Read from the latest stored results

notes
string[]
required
duration_ms
integer
required

Milliseconds the request took

request_id
string
required

Quote this when asking about the request; also the X-Request-ID header

total
integer

Rows in the whole list, before paging; absent when the answer is read from stored results