EasyParcel (Singapore) Help Centre

Login Sign Up
Welcome
Login

How do I book On-Demand deliveries with the API?

Quick Summary

On-Demand books a rider to collect from one point and deliver to another, usually within the hour. It uses coordinates, not postcodes. The flow is quote, place order, check status, and cancel if needed.

We'll Cover:


Before you start

  • Available for Singapore and Malaysia accounts.
  • Your account needs enough credit when you place the order. Quotes are free.
  • You need a latitude and longitude for every pick-up and drop-off point.
  • Singapore base URL: connect.easyparcel.sg. Send a JSON body with your API key in the api field, and the action in the ac query parameter.

The flow

ActionWhat it does
OndemandQuotationGets couriers and prices for the route
OndemandPlaceOrderBooks one courier and charges your credit. Returns an order number
OndemandOrderDetailsShows the driver, status and tracking link
OndemandOrderListLists recent orders
OndemandCancelOrderCancels while it can still be cancelled, and refunds

Quote request

Send at least one pickup and one dropoff waypoint in visiting order, each with latitude and longitude. Pickup date and time are optional. The reply lists each courier service with the vehicle type, capacity, estimated time and price. Pass the service_id back unchanged when you place the order.


Good to know

  • A quote is an estimate. Re-quote if the user waits before booking.
  • If a place-order request times out, check OndemandOrderList for a matching recent order before you retry.
  • If a cancel returns error_code -1, it is too late to cancel.

Still need help?
Our team is happy to help. ? Live Chat  |  ✉️ Contact Us

E
EasyParcel is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.