Dropboy have support for some webhooks, which help companies to integrate their own systems with Dropboy.
Dropboy currently support these webhooks:
- Order creation
- On pickup
- On delivery
- On ETA changed
- On Waypoint Change
- Task lists planned
- "Driver is on the way"
- Order tracking
- Vehicle Tracking
To enable and setup webhooks, you have to go into Settings (1) in the side menu, and then to Developer tools (2) in the top menu. It should look like this
To enable a webhook, enter the URL of where the webhook should request to, either http:// or https://. Then click to enable the webhooks, and go to the bottom of the site and press Save
It is recommended to use https:// instead of http://, because there could be confidential information in the webhook request.
Output format
The output from a webhook could look like this:
{
"name": "createOrder",
"sent": "2018-04-12T10:37:05.601Z",
"data": [
{
"orderId": "5acf36d1a2261f5d4edb91b3",
"wuxusNumber": "HAU-392-45425580",
"createType": "order"
}
]
}
Key | Description |
---|---|
name | The name of the type of webhook that have been send. In this case it is Order creation webhook |
send | What time Wuxus sent the webhook. The time will always be in UTC ISO-8601 format. |
sent | What time Wuxus sent the webhook. The time will always be in UTC ISO-8601 format. |
data | The data necessary for the webhook |
send is obsolete and will be unavailable after 1st July 2018