Courier Shipping — Delhivery/Shiprocket Setup
12. Courier Shipping — Delhivery/Shiprocket Setup
Reading Time: 7 min
Goal: Set up courier partners, generate waybills, schedule pickups
Video Tutorial
Watch this step-by-step video tutorial:
Step 1: Navigate to Courier Settings
- Left sidebar → Settings 🔽 → Courier
- You'll see a list of available courier partners
Available Couriers
| Courier | Best For | Features |
|---|---|---|
| Delhivery | Pan-India e-commerce delivery | Waybill, pickup, tracking, pincode check, returns |
| Shiprocket | Multi-courier aggregation | Multiple courier options, automated routing |
Standard Store Required: Courier is only available for Standard Stores. Not available for Affiliate stores.
Step 2: Setting Up Delhivery
Prerequisites:
You need a Delhivery account. Contact the Delhivery logistics team.
Get Your Credentials:
- From your Delhivery dashboard, copy the API Key (License Key) and Client ID
- Have your Pickup Pincode ready
Setup in WithCart:
- Click "Configure" next to Delhivery
- Enter these details:
| Field | Explanation |
|---|---|
| Client ID | Your Delhivery Client ID |
| API Key (License Key) | Your Delhivery License Key |
| Pickup Pincode | Your warehouse pincode (where courier will pick up from) |
| Mode | Test (development) / Live (production) |
- Toggle "Activate" ON
- Test Connection — Check pincode serviceability
<!-- TODO: Image - Delhivery setup form -->
Step 3: Setting Up Shiprocket
Prerequisites:
Register for a Shiprocket account at Shiprocket website.
Get Your Credentials:
- Shiprocket dashboard → Settings → API Token
- Copy the Token
- Set up your Pickup Location in Shiprocket
Setup in WithCart:
- Click "Configure" next to Shiprocket
- Enter the API Token
- Toggle "Activate" ON
Step 4: How Courier Works
When an order comes in and you process it:
Order Fulfillment Flow:
1. Order is in "Processing" status
2. Click "Generate Waybill"
3. Courier system auto-generates a waybill number
4. Click "Request Pickup" → courier pickup is scheduled
5. "Print Label" → Print the shipping label
6. Paste the label on the parcel
7. Courier picks up the parcel
8. Tracking updates automatically
Manual Pickup Request:
If auto-pickup is not scheduled, you can request manually:
- Go to the order detail page
- Click "Request Pickup"
- Select pickup date and time
- Submit
Step 5: Courier Tracking
- Tracking information is displayed on the order detail page
- The customer also receives a tracking link (via SMS/email)
- Tracking updates automatically via courier webhooks
Pro Tip: Set up an auto-pickup schedule so courier pickup happens at a fixed time every day. See Pickup Schedule for details.
Pincode Serviceability Check
Before setting up courier, check if your area's pincodes are serviceable:
- The storefront auto-checks at checkout
- You can manually check: Courier Settings → Test Pincode
Common Issues
| Problem | Solution |
|---|---|
| Waybill generation failing | Check courier credentials, check waybill balance |
| Pickup request failing | Is the pickup pincode correct? Does the warehouse exist? |
| Tracking not updating | Check webhook URL |
| Pincode not serviceable | Delivery is not available in that area |