Hyperlocal
Serviceability
Before placing an order, run a serviceability check. Only when the response returns serviceable: true should you create the order — and do so within a couple of minutes of the check.
Rate limit: 1200 requests per minute.
Request
Code
Fields
| Field | Required | Description |
|---|---|---|
pickup_latitude | Yes | Pickup latitude (string, converted to float) |
pickup_longitude | Yes | Pickup longitude (string, converted to float) |
drop_latitude | Yes | Drop latitude (string, converted to float) |
drop_longitude | Yes | Drop longitude (string, converted to float) |
paid | Yes | "false" for COD, "true" for prepaid |
order_value | Yes | Order value |
COID | No | Client order ID for mapping |
stage_of_check | No | "pre_order" or "post_order" |
rain_flag | No | Pass true if rain-impacted |
client_surge | No | Extra surge incentive for the rider |
Response
When serviceable:
Code
When not serviceable (e.g. no riders available):
Code
Error Responses
| HTTP | Message | Cause |
|---|---|---|
| 400 | Empty Pickup Lat/Long. | Missing pickup coordinates |
| 400 | Order in non-serviceable area | Location outside coverage |
| 401 | Invalid token | Authentication failed |
See the Serviceability API for the full schema.
Last modified on