Resolve courier location IDs (city / zone / area)
get_courier_locationsRetrieve cities, zones, or areas for structured courier addresses. Use the returned location IDs when creating parcels.
Instructions
For couriers that address by structured location IDs (e.g. Pathao). Get the list of cities, or the zones of a city (parentId = city id), or the areas of a zone (parentId = zone id). Use the returned ids in create_parcel's meta for Pathao.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| courier | No | pathao | |
| parentId | No | Required for zone (city id) and area (zone id). |