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
| Action | What it does |
| OndemandQuotation | Gets couriers and prices for the route |
| OndemandPlaceOrder | Books one courier and charges your credit. Returns an order number |
| OndemandOrderDetails | Shows the driver, status and tracking link |
| OndemandOrderList | Lists recent orders |
| OndemandCancelOrder | Cancels 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.
What's next?
Still need help?
Our team is happy to help. ? Live Chat | ✉️ Contact Us