Integrating with Adisyo as a courier company

Integrating with Adisyo as a courier company

Let's think that you are a courier company and want to be instantly notified of orders entered in Adisyo and run your own business logic. The operations to be performed are as follows:

Get courier users (at certain intervals)

The courier type users in the Adisyo application of the restaurant you serve are retrieved with GET /api/External/v2/Couriers

Set up webhook (once)

  • Adisyo Webhook settings for this restaurant are completed and an address like https://example-courier-company.com/OrderFromAdisyo that you specified during setup begins to be listened to (You can find more detailed information about this topic in the Webhook section)

Wait to be notified by Adisyo

  • When an order is created, changed, or has a status change in Adisyo, the address you specified will be triggered by Adisyo

(Optional) Send status changes occurring on your side to Adisyo


Note

If we wanted to create a similar scenario before the Adisyo Webhook structure, we could also achieve similar results by querying GET /api/External/v2/RecentOrders at certain intervals. However, since this method would put unnecessary load on both your servers and Adisyo servers, we recommend using Adisyo Webhook.