i)Quote
Use
Quote API to check the shipment prices with the desired Order details. The quoted price for supported Courier will be listed in the format of“
{COURIER_NAME}Price” in the response.
ii)Create (Bulk)
Create multiple new Orders by calling
Create Order (Bulk) API, providing a list of Order details. For each Orders, replace the value of
serviceProvider and
price with the quoted price along with other details. The response will be grouped in lists of “success” and “fail”. Resolve the errors in “fail” Orders if any, then copy and keep all the “
orderId”in the success list as they are needed for Checkout.
iii)Checkout (Bulk)
Call
Checkout (Bulk) API with the list of
orderId to make payments and place multiple Orders. Once accepted, a successful response will be returned immediately, and we will start processing the shipments in the background.
Webhook: Once processing is completed, the Checkout statuses with Order details will be sent to your registered
Checkout Webhook URL endpoint in this
format. 1.
Track API
While you have the option to call the Track API to monitor the status of your orders, this method is not recommended for frequent status updates. The Track API is suitable for occasional status checks.
2.
Status Tracking Webhook API
We strongly advise using webhooks for real-time status updates. This approach is more efficient and reduces the need for repeated API calls.
- Upon any change in an order's status, our system automatically sends a HTTP POST request to your pre-configured webhook URL.
- This notification includes the latest order status information in this
format.