Upon Order item updated (cancelled)
When an item is removed from an existing order.
EVENT item_updated
Parameters
Example
Event for unlinked order
{
"type": "item_updated",
"data": {
"id": "3",
"status": "pending",
"uri": "https://sandbox.doshii.co/pos/v3/unlinked_orders/3"
}
}
Event for linked order
{
"type": "item_updated",
"data": {
"id": "3",
"status": "accepted",
"posRef": "X-1234-5678",
"uri": "https://sandbox.doshii.co/pos/v3/orders/X-1234-5678"
}
}