Get International Order Status Update via Webhook
Get International Order Status Update via Webhook
How it works
Bosta webhooks to keep your orders synced with the latest state on our system by sending a request to a specific endpoint that you will provide us with.
After every change in the state of the order. We will send a POST request to your endPoint with this update
How to use
- While creating your order you need to set the following parameter in the request body
- After any change in the state you will receive the following request on the endpoint you provide us with:
POSThttps://yourendPointwith the following body
Bosta states
| State Name | State Code | Description |
|---|---|---|
| Created | 10 | The order is still in initial State |
| Picked up | 21 | The order is picked up from business |
| Route Assigned | 20 | The order is assigned to route |
| Received at warehouse | 21 | The order is received at warehouse |
| Ready to Transfer | 26 | The flight details are added to the order and it's ready for transit (occurs in when orderLocation is Source only) |
| In Transit between Hubs / Air Transit | 30 | When the orderLocation is Source is means the order is in Air Transit when the orderLocation is Destination it means the order is in transit between hubs |
| Cleared from Customs | 45 | When the order is cleared from customs in the destination country |
| Out for Delivery | 41 | When the order is out for delivery to the consignee |
| Delivered | 60 | When the order is delivered to the consignee |
| Exception | 47 | When the order receive an exception |
| Terminated | 48 | When the order is terminated or canceled |