Integrate FlutterXpress shipping services directly into your application. Use these endpoints to manage parcels, track shipments, and oversee your transactions.
Authenticate and obtain an access token.
POST /signin
| Parameter | Type | Required | Description |
|---|---|---|---|
username |
string | Yes | Registered username. |
password |
string | Yes | Account password (min 6 characters). |
{
"success": true,
"message": "Signin successfully",
"data": {
"token": "1|qXyZ...",
"user": {
"id": 1,
"name": "Merchant Name",
"email": "merchant@example.com",
"mobile": "1234567890"
}
}
}
Manage your pickup locations/warehouses.
GET /warehouses/index
Retrieves all registered pickup locations for your account.
POST /warehouses/store
| Field | Type | Desc |
|---|---|---|
name | string | Warehouse/Shop Name |
contact_no | string | Pickup Phone Number |
address | string | Full Address |
pincode | string | Pickup Pincode |
city | string | City |
state | string | State |
Store a new shipment in the system.
POST /parcel/store
Authorization: Bearer {token} in headers.
| Parameter | Type | Required | Description |
|---|---|---|---|
pickup_phone |
string | Yes | Contact number for the pickup location. |
pickup_address |
string | Yes | Full address of the pickup location. |
pickup_pincode |
string | Yes | Pincode of the pickup location. |
pickup_city |
string | Yes | City for pickup. |
pickup_state |
string | Yes | State for pickup. |
order_id |
string | Yes | Your internal order ID (must be unique). |
customer_name |
string | Yes | Recipient's full name. |
customer_phone |
string | Yes | Recipient's mobile number. |
customer_address |
string | Yes | Detailed delivery address. |
customer_city |
string | Yes | Delivery city. |
customer_state |
string | Yes | Delivery state. |
customer_pincode |
string | Yes | Recipient's Pincode/Zipcode. |
weight |
decimal | Yes | Actual weight of the parcel in Kg. |
mode |
string | Yes | Payment mode: prepaid or cod. |
collect_value |
decimal | No | Amount to be collected for COD (0 for prepaid). |
total_value |
decimal | Yes | Consignment/Invoice value for insurance. |
order_type |
string | Yes | Service type: air, surface, or normal. |
item_name |
string | Yes | Description of items. |
quantity |
integer | Yes | Number of items in the package. |
courier_type |
integer | No | Provider: 1 for Xpress, 2 for Delhivery. |
awb_no |
string | No | Optional manual AWB number. |
is_premium |
integer | No | Set 1 for premium service. |
Note: Starting from v1.0, all service charges are automatically calculated by the backend based on your merchant account settings. You do not need to pass these unless you want to override them with manual values (Admin approval may be required).
| Field | Type | Default Behavior |
|---|---|---|
total_delivery_charges | decimal | System auto-calculates grand total. |
cod_charges | decimal | Auto-calculated based on your COD % or Min flat fee. |
gst_charges | decimal | Auto-applied based on your GST configured rate. |
fsc_charges | decimal | Auto-calculated Fuel Surcharge. |
insu_charges | decimal | Auto-calculated Insurance (FOV) fee. |
Retrieve all parcels assigned to your account.
GET /parcel/index
Returns a paginated list of all parcels with their current statuses, customer details, and shipping charges.
Get full information and history of a specific parcel.
GET /parcel/details/{id}
Replace {id} with the unique parcel ID. The response includes status history (logs) and deliveryman info if assigned.
Check transaction history and current available balance.
GET /account-transaction/index
Returns list of all financial movements including payouts and recharges.
GET /dashboard/balance-details
Returns a detailed breakdown of your funds.
{
"amount_delivered": "5000.00",
"available_balance": "4250.00",
"clearable_parcels": 12
}
Public endpoint to track shipments by tracking ID.
GET /parcel/tracking/{tracking_id}
Track shipment progress without authentication. Useful for integrating a tracking widget on your own website.
Fetch current merchant account settings and information.
GET /profile