Sent directly from the POS system on site (if feature is enabled) whenever a product's stock level changes. This is designed to allow fine grained tracking of individual stock levels in near real time.
WARNING: There may be significantly more webhook traffic when this feature is enabled if the site tracks stock on a large number of products.
IMPORTANT: Retry attempts for this webhook notification type are limited and the server processing the webhook notification is expected to respond with OK 200 within a few seconds of receiving the notification.
NOTE: If you require whitelisting of IPs for the incoming webhook notification, the outlet this feature is enabled for will need to have a static IP (or purchase one from their ISP). Typically outlets do not normally have static IP addresses.
Required
MaxLength(16)
OrganisationCode :
string
The unique organisation code associated with the organisation that this update is for
Required
Kapow :
string (GUID)
The unique organisation identifier associated with the organisation that this notification is for
Required
OutletID :
string (GUID)
The outlet ID that this notification is being generated from
Required
IsFullRefresh :
bool
When true, this indicates that the StockLevels list will be a complete snapshot of the stock levels for all products that are enabled for Stock Countdown. Any products not included in the Stock Levels list do not have stock countdown enabled.
Required
StockLevels :
LiveProductStockLevel
[]
A list of stock level changes for processing
When IsFullRefresh is true, this will be a complete list of stock levels for all products that are tracking stock.
When IsFullRefresh is false, this will contain one or more updates to the current stock levels of a subset of product(s).
Example
{
"OrganisationCode": "string value",
"Kapow": "3f49efe7-ea42-4f21-8718-7e6ce9a33512",
"OutletID": "3f49efe7-ea42-4f21-8718-7e6ce9a33512",
"IsFullRefresh": true,
"StockLevels": []
}