Webhook
How does webhook work? (How the data flows from TrackingMore to users via Webhook?)
Webhooks act as a gateway to receive raw data at a particular destination that you define. Webhook is used to ask Trackingmore to push back any updates to your system. This is used when the store wants to send out notifications by themselves or receive the latest delivery status / checkpoint. Users can select when to ask TrackingMore pushes back delivery updates when using webhook.
This requires you to add a webhook URL in our trackingmore developer system. When completing requesting data, Webhook will respond the data to you through your configured URL. You can also understand it like this: you share an endpoint with TrackingMore and TrackingMore will be sending you the payloads in JSON format. And you write a schema to process that and show it on the track page. (The endpoint is the webhook URL)
📢 What you’ll learn
In this tutorial, we’ll discuss:
Setup webhook
- Go to TrackingMore Developer > Webhooks
- Add Webhook URL & description (4 Webhook URLs max).
- Select statuses to start receiving updates (all statuses including info received, in transit, out for delivery, failed attempt, delivered, exception, expired, notfound or specific statuses from all statuses)
Update webhook/endpoint
- Go to TrackingMore Developer > Webhooks
- Click the specific endpoint
- Actions > update details: endpoint URL, description, version, statuses > update endpoint
Test endpoint
- Go to TrackingMore Developer > Webhooks
- Click the specific endpoint
- Actions > test endpoint
Disable or delete webhook
- Go to TrackingMore Developer > Webhooks
- Click the specific endpoint
- Actions > disable, actions > delete
For more details about Webhook, please refer to this doc: https://www.trackingmore.com/docs/trackingmore/79dpyqt0qaebs-webhook-overview & more sections below:
Updated on: 31/08/2023
Thank you!