endOrder

EndOrder messages are sent when an order of products is finished.

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

keydata typedescription
timestamp_msint64unix timestamp of message creation
order_idint64current 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)