Shiprocket Fulfillment Plugin
A Shiprocket fulfillment provider plugin for MedusaJS 2, enabling seamless integration with Shiprocket's shipping and logistics services.
Overview
This plugin integrates Shiprocket’s comprehensive shipping and fulfillment services into your MedusaJS 2 store. Shiprocket is a leading logistics aggregator in India, providing access to multiple courier partners and streamlined shipping operations.
Features
- Shiprocket Integration - Connect your MedusaJS store with Shiprocket’s logistics platform
- Multi-Courier Support - Access to 17+ courier partners through Shiprocket
- Automated Shipping - Streamline order fulfillment and shipping processes
- Real-time Tracking - Track shipments in real-time
- Rate Calculation - Get shipping rates from multiple couriers
- Label Generation - Automatically generate shipping labels
- MedusaJS v2 Compatible - Built specifically for MedusaJS 2
Requirements
- MedusaJS v2
- Node.js >= 20
- Active Shiprocket account
Installation
Install the plugin using npm:
npm install medusa-shiprocket-fulfillment-plugin
Configuration
Add the plugin to your medusa-config.js:
const plugins = [
// ... other plugins
{
resolve: "medusa-shiprocket-fulfillment-plugin",
options: {
email: process.env.SHIPROCKET_EMAIL,
password: process.env.SHIPROCKET_PASSWORD,
// Additional Shiprocket configuration options
},
},
]
Environment Variables
Create a .env file with your Shiprocket credentials:
SHIPROCKET_EMAIL=your_shiprocket_email
SHIPROCKET_PASSWORD=your_shiprocket_password
Usage
Setting up Shiprocket
- Create a Shiprocket account at shiprocket.in
- Configure your warehouse and pickup locations
- Add your credentials to the MedusaJS configuration
Order Fulfillment
Once configured, the plugin will:
- Automatically sync orders to Shiprocket
- Calculate shipping rates from available couriers
- Generate shipping labels when orders are fulfilled
- Provide tracking information to customers
Shipping Options
The plugin integrates with Shiprocket’s courier selection to offer:
- Multiple courier options with different pricing
- Delivery time estimates
- Weight-based rate calculation
- Cash on Delivery (COD) support
Shiprocket Services
Shiprocket provides access to:
- 17+ Courier Partners - Including Delhivery, Blue Dart, FedEx, and more
- Pan-India Coverage - Nationwide delivery network
- International Shipping - Global shipping capabilities
- NDR Management - Non-delivery report handling
- RTO Management - Return to origin processing
- Weight Reconciliation - Automated weight dispute resolution