The cost of manual booking
For a brand shipping a few hundred parcels a day, manual booking means someone copying names, phone numbers, addresses, cities and COD amounts from Shopify into one or more courier portals, then copying the tracking number back. It takes hours, and every typo becomes a failed delivery or a wrong COD amount. Worse, the same data then has to be entered into the ERP.
Step 1: decide your courier rules
Before any automation, write down how you choose a courier today. Most brands use a handful of rules:
- Service level: overnight or express for high-value orders, economy for the rest.
- City: one courier for Karachi, another for other cities, a third for remote areas.
- Payment type: some couriers settle COD faster or charge less for prepaid parcels.
- Weight and value: heavy or high-value parcels to the courier you trust most.
Put these in a simple rules table that your operations team can edit. The automation reads the table; nobody needs to change code when a courier underperforms.
Step 2: book automatically on confirmation
When an order is confirmed, whether by WhatsApp, by a call or because it was prepaid, the automation books it through the courier's API with consignee name, phone, address, city code, COD amount, pieces, weight and order reference. The courier returns a consignment (CN) number and a label. The CN is saved to Shopify as a fulfillment with tracking, to the ERP, and to the central order record.
Two details matter. City names must be matched to each courier's city codes, with unmatched cities sent to a person rather than guessed. And bookings must be duplicate-safe, using the order reference, so a retry never creates two parcels.
Step 3: labels and loadsheets
Instead of printing labels one by one, the warehouse gets a screen with today's labels grouped by courier and a loadsheet for each pickup. With an AI agent in the loop, a manager can simply say "print today's CNs" and the batch appears.
Step 4: one status for every courier
Every courier uses different status codes. Map them all into one short list: booked, picked up, in transit, out for delivery, delivered, delivery failed, returning, returned. Customers get a WhatsApp update at the important steps, and your team sees the same status in every system.
Step 5: handle failed deliveries
A failed delivery (an NDR, or non-delivery report) is the last chance to save a sale. When the courier marks a parcel as refused, customer not available or address issue, an agent messages the customer on WhatsApp straight away: would they like a re-attempt, a new time or a corrected address? Only customers who do not reply go to the call list. Acting within hours rather than days is what brings return rates down.
Step 6: reconcile COD payments
When an order is delivered, post the COD amount to that courier's ledger in your ERP the same day. When the courier's payment file arrives, match it against the ledger by CN number. Missing or short payments show up as a list, not as a month-end mystery.
All six steps are part of our Courier & Logistics Automation service and the wider Ecom Flow system.
FAQ
Which couriers have APIs in Pakistan?
Most major couriers, including TCS, Leopards, PostEx, Trax and M&P, offer APIs for booking and tracking to business accounts. Ask your account manager for API credentials.
Can I use more than one courier at the same time?
Yes. A rules table chooses the courier per order, and all couriers report into one status list and one set of ledgers.