Skip to content
Last updated

Notification events

New order

When a new order is created by the App, we will trigger a notification via the integration that you have implemented. There are two events that can mean that the order has been created: ORDER_CREATED or ORDER_ACCEPTED. ORDER_ACCEPTED will be only sent if the merchant confirmed the order in the App (eg. on a provided tablet).

Order status updates

The following event types can be sent when an order status is updated.

Sent to the POS

Order status eventPOS must
support
Description
ORDER_CREATEDYesOrder has been created on the App
ORDER_ACCEPTEDNoOrder has been accepted by the merchant eg. on a tablet provided by the App
ORDER_CANCELLED_BY_MERCHANTNoOrder has been cancelled by the merchant.
ORDER_CANCELLED_BY_CUSTOMERNoOrder has been cancelled by the customer.
ORDER_FULFILLEDNoOrder has been fulfilled.

Sent to the App

Order status eventMandatory
for POS
Description
ORDER_ACCEPTEDYesOrder has been accepted by the POS.
ORDER_REJECTEDYesOrder has been rejected by the POS or POS failed to accept that order within 2 minutes.
ORDER_BEING_PREPAREDNoOrder is being prepared.
ORDER_READYYesOrder is marked as ready by POS.
ORDER_OUT_FOR_DELIVERYNoOrder has been dispatched for delivery.
ORDER_FULFILLEDNoOrder has been picked up by the customer and is fulfilled.
ORDER_CANCELLED_BY_MERCHANTNoOrder has been cancelled by the POS.
ORDER_CANCELLED_BY_CUSTOMERNoOrder has been cancelled by the customer.

Sample event

{
  "type": "ORDER_ACCEPTED",
  "data": {
    "id": "2688fcf2-44dd-4c72-88ac-79d0910f2933",
    "uri": "https://api.tyro.com/connect/orders/2688fcf2-44dd-4c72-88ac-79d0910f2933",
    "resource": "order"
  }
}
Registering webhooks

For information on how to register for webhooks and how to interpret the webhook message. Documentation can be found here: Webhooks