create_parcel
Book and dispatch a physical parcel across Bangladesh via supported couriers, creating a billable shipment and official tracking code. Use only after verifying recipient address and phone.
Instructions
Book and dispatch a physical parcel consignment across Bangladesh through Steadfast, Pathao, RedX, Paperfly, or AI smart cascading routing. STATE-MUTATING ACTION: This call creates a real, billable shipment record in the carrier's production database, assigns an official tracking code, and deducts courier fees upon pickup. Once booked, cancellations require direct courier portal operations. Use only after customer address and phone number are verified. Do NOT use for preliminary fee estimation (use 'calculate_delivery_zone_and_fee' or 'compare_courier_rates') or address validation (use 'validate_and_geocode_address'). Throws an error if required courier credentials are not configured or recipient phone is invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Special instructions for delivery rider | |
| value | No | Declared parcel value in BDT (used by RedX; defaults to the COD amount) | |
| courier | No | Target courier or 'auto' for AI smart routing (default: auto) | |
| invoice | Yes | Unique order invoice number (e.g. INV-1002) | |
| item_type | No | What's inside the parcel (used by RedX) | |
| cod_amount | Yes | Cash on delivery amount in BDT (0 if prepaid) | |
| item_weight | No | Parcel weight in KG (default: 0.5) | |
| recipient_name | Yes | Customer full name | |
| pickup_store_id | No | RedX only: your pickup store id (optional) | |
| recipient_phone | Yes | 11-digit Bangladeshi mobile number (e.g. 017XXXXXXXX) | |
| delivery_area_id | No | RedX only: numeric delivery-area id (auto-resolved from the address if omitted) | |
| recipient_address | Yes | Delivery address (Thana, District, Street) |