A customer/reseller can select this event to get the updated quantity of the IPN. This event will trigger the updated quantity with a particular interval. The customer should be authorized to get any SKU/IPN information. The threshold value of SKU's per event will be 4000, if more SKU's are present the event will be divided into multiple events with the threshold value.
Notification Event | Event code | Sub-event code | Description |
---|---|---|---|
Availability of Stock | im::updated | im::stock_update (v1) | updated stock of the IPN |
Sample JSON payload
{
"topic":"resellers/catalog",
"event":"im::updated",
"eventTimeStamp":"2020-10-27T15:50:05.339+08:30", ---> UTC
"eventId":"AH7ESSIWSIO22Y77DD", ---> unique_event_id
"resource":[ //array
{
"eventType":"IM::STOCK_UPDATE",
"ingramPartNumber":"5CX579",
"vendorPartNumber":"710412-001-BTI",
"vendorName":"BATTERY TECHNOLOGY INC.",
"upcCode":"0886734869201",
"skuStatus":null,
"backOrderFlag":"Y",
"totalAvailability":"120",
"links":[
{
"topic":"catalog",
"href":"/resellers/v5/catalog/5CX579",
"type":"GET"
}
]
},
{
"eventType":"IM::STOCK_UPDATE",
"ingramPartNumber":"5CT275",
"vendorPartNumber":"AC-U90W-HP",
"vendorName":"BATTERY TECHNOLOGY INC.",
"upcCode":"0745473120182",
"skuStatus":null,
"backOrderFlag":"Y",
"totalAvailability":"120",
"links":[
{
"topic":"catalog",
"href":"/resellers/v5/catalog/5CT275",
"type":"GET"
}
]
}
]
}