KornitX provides a Stock API to allow suppliers to provide up-to-date stock information when stock positions change by making a PUT request to the stock update endpoint.
A second API end-point allows request and retrieval of stock levels for each stock product via the sales channel company within KornitX. Use of this endpoint requires fulfillers to keep stock levels up to date for the products that they supply.
An example of the API call and data retrieved is shown below:
{
"stock":[
{
"linked":[
{
"product":{
"id":1538144,
"supplier_sku":"00884422",
"retail_sku":"00884422"
},
"variant":null
}
],
"quantity_available":10000,
"lead_time_days":0,
"daily_capacity":0
},
{
"linked":[
{
"product":{
"id":2947461,
"supplier_sku":"FM06231FOC",
"retail_sku":""
},
"variant":null
}
],
"quantity_available":0,
"lead_time_days":0,
"daily_capacity":0
}
]
}
The API call will return the supplier and retail SKU associated with each stock product visible to the Retailer, variant data (where for example there are linked size options), the quantity available (stock level) and any lead-time and daily capacity metrics set against the stock product.