Skip to main content
GET
List stockout projections

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
item
string

Narrow to one item (external id)

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

only: just the projections the supplier network moved

Available options:
only
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

projections
object[]
required
deprecated

Deprecated: the same rows as data

window_days
integer
required

Demand history window used

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

supplier_updates_applied
integer
required

Projections the supplier network moved

planning
object
required

Read from the latest stored results

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