Create a courier parcel (book a delivery)
create_parcelBook a parcel delivery with major Bangladeshi couriers. Supply recipient details, invoice, and COD amount to receive tracking code.
Instructions
Book a delivery with a Bangladesh courier. Returns the consignment id and tracking code. COD amount is in BDT (use 0 for prepaid). The invoice must be unique per order. Pathao also needs meta:{ storeId, cityId, zoneId, areaId } — resolve the IDs with get_courier_locations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Courier-specific extras. Pathao: { storeId, cityId, zoneId, areaId }. | |
| note | No | ||
| courier | No | Which courier to book with. | steadfast |
| invoice | Yes | Your unique order/invoice id (idempotency key). | |
| codAmount | Yes | Cash-on-delivery amount in BDT (0 = prepaid). | |
| recipientName | Yes | ||
| recipientPhone | Yes | ||
| itemDescription | No | ||
| recipientAddress | Yes |