πŸ”„ Store Updated

Update store status (Available or Busy)

🧩 JSON Payload

{
  "brand_id": "5000",
	"event_time": "2025-01-01 00:00:00",
  "event": "store.updated",
  "branch_id": "123",
  "status": true
}

πŸ—‚ 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
statusBoolean"true" if in stock, "false" if out of stock

🧠 Behavior

  • This event notifies the manual POS that a store (branch) was paused or resumed in Blend.
  • The POS should update its local availability flag and stop/start accepting orders accordingly.

πŸ”§ Example Use Cases

  • A merchant pauses a branch due to kitchen overload or downtime.
  • A merchant reopens the branch after maintenance or closing hours.

βœ… Notes

  • The status field is always 0 or 1, representing availability, not operational hours.
  • This is a per-branch notification β€” each branch update triggers a separate webhook.
  • Manual POS should block new order creation if status = 0.

What’s Next