Knowledge Base

Courier Shipping — Delhivery/Shiprocket Setup

7 min read Logistics & Shipping

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

  1. Left sidebar → Settings 🔽 → Courier
  2. 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:

  1. From your Delhivery dashboard, copy the API Key (License Key) and Client ID
  2. Have your Pickup Pincode ready

Setup in WithCart:

  1. Click "Configure" next to Delhivery
  2. 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)
  1. Toggle "Activate" ON
  2. Test Connection — Check pincode serviceability

<!-- TODO: Image - Delhivery setup form -->

Screenshot of Delhivery courier setup form with Client ID, API Key, Pickup Pincode fields

Step 3: Setting Up Shiprocket

Prerequisites:

Register for a Shiprocket account at Shiprocket website.

Get Your Credentials:

  1. Shiprocket dashboard → Settings → API Token
  2. Copy the Token
  3. Set up your Pickup Location in Shiprocket

Setup in WithCart:

  1. Click "Configure" next to Shiprocket
  2. Enter the API Token
  3. 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:

  1. Go to the order detail page
  2. Click "Request Pickup"
  3. Select pickup date and time
  4. 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:

  1. The storefront auto-checks at checkout
  2. 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

Related Articles