πŸ”„ Order Updated

🧩 JSON Payload

{
  "brand_id": "5000",
	"event_time": "2025-01-01 00:00:00",
  "event": "order.updated",
  "branch_id": "1",
  "order_id": "123456",
  "status": "PENDING"
}

πŸ—‚ Field Descriptions

FieldTypeDescription
eventStringAlways "item.updated"β€” type of event
event_timeTimestampTimestamp of when the toggle action occurred
brand_idStringThe ID of the brand triggering the update
branch_idStringThe branch where the item status was changed
statusBooleanOne of: PENDING, ACCEPTED, PREPARING, CANCELED, REJECTED, TIME_OUT
order_idstringPos's internal order ID

🧠 Behavior

  • Pos updates the order status and informs the Blend to reflect this change in real time and send to delivery app.

πŸ”§ Example Use Cases

  • A manager at Pos rejects an order β†’ Blend marks the order as REJECTED

βœ… Notes

  • The order_id is generated by Pos.