endOrder
EndOrder messages are sent when an order of products is finished.
less than a minute
Topic
MQTT: ia/<customerID>/<location>/<AssetID>/endOrder
For Kafka just switch the / character with a .
Usage
A message is sent each time an order is finished, it contains the ID of the finished order and the timestamp.
Content
| key | data type | description |
|---|---|---|
timestamp_ms | int64 | unix timestamp of message creation |
order_id | int64 | current order name |
See also notes regarding adding products and orders in /addOrder
JSON
Examples
The order “test_order” was finished at the shown timestamp.
{
"order_id":"test_order",
"timestamp_ms":1589788888888
}
Producers
- Typically Node-RED
Consumers
Last modified February 17, 2023: update (#208) (ea731fc)