Aircall Integration Explained
Setting up webhook triggers in Aircall allows you to send real-time data to your external systems based on specific events. This is essential for building custom integrations and automating workflows.
2 parts are involved in natively integrating SHOPLINE with your external platform.
💡 Overview
Natively integrating SHOPLINE with your external platform involves two primary parts:
- Creating a private application in SHOPLINE to register your platform.
- Creating a Webhook for each event you want to monitor.
Once these are set up, your integration is ready.
App -> Develop Apps -> Create an App.POST request.POST method with a Content-Type of application/json.200 OK) to acknowledge receipt of the webhook. If SHOPLINE does not receive this acknowledgement, it will consider the delivery a failure and may disable the webhook after multiple failed retries.Order Update event.{ "X-Shopline-Topic": "*****/****", "X-Shopline-Hmac-Sha256": "e.g. XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=", "X-Shopline-Shop-Domain": "e.g. shophub.myshopline.com", "X-Shopline-Shop-Id": "e.g. 1610418123456", "X-Shopline-Merchant-Id": "e.g. 2000001234", "X-Shopline-API-Version": "e.g. v20210901", "X-Shopline-Webhook-Id": "e.g. b54557e48a5fbf7d70bcd043" }
{ "total_spent": "0", "addresses": [ { "...address_details..." } ], "gender": "others", "last_order_id": "1001", "created_at": "2023-05-10T17:00:01+08:00", "updated_at": "2023-05-26T19:25:47+08:00", "accepts_marketing": true, "email_subscribe_flag": 1, "nick_name": "test1", "currency": "CLP", "id": "421475190", "state": 3, "first_name": "test1", "email": "test1@joyy.com", "mobile_subscribe_flag": 2 }