Webhooks Events
Be notified of events on a sale via the webhook.
The types of sales events are:
Sale Data Event | Description |
---|---|
SALE_UPDATED |
A sale is updated |
SALE_CLOSED |
A sale has been updated from OPEN to CLOSED |
SALE_REOPENED |
A sale has been been reopened and updated from CLOSED to OPEN |
Sample Event
{
"type": "SALE_UPDATED",
"data": {
"id": "2688fcf2-44dd-4c72-88ac-79d0910f2933",
"uri": "https://api.tyro.com/connect/sales/2688fcf2-44dd-4c72-88ac-79d0910f2933",
"resource": "sale"
}
}
Registering Webhooks
For information on how to register for webhooks and how to interpret the webhook message. Documentation can be found here: Webhooks