Version 3.2 | October 2026 (Omni-Carrier Production Master Edition)

ENTERPRISE LOGISTICS
ALL-CARRIER & WAREHOUSE REST API SPECIFICATION

Comprehensive Master Integration Manual & Wallet Ledger Guide

14 Integrated Carriers Covered:

2: Delhivery 3: BlueDart 4: XpressBees 5: DTDC 7: Ekart 8: Shadowfax 10: Blitz 11: Shree Maruti 12: PiknDel 13: Parcel Uncle 14: India Post 15: BD 16: DL 17: XB

Live Production Verified Edition — Last live audit: October 12, 2026 (Courier 17 added after audit)

1. System Architecture & Overview

The Hyloship Enterprise Logistics API is a carrier-agnostic shipping orchestration gateway. It abstracts 14 leading national, regional, hyper-local, and government postal carriers behind a single, consistent REST interface.

Key Capabilities

  • Full Multi-Carrier Redundancy: Switch effortlessly between surface, air, next-day (NDD), same-day (SDD), and hyper-local couriers using the uniform courier_id field.
  • Intelligent Warehouse Sync: Origin facilities registered via /warehouse auto-provision downstream profiles across Delhivery, Ekart, and carrier pools.
  • Live Dynamic Rate Quotes: Query all integrated carriers in a single call, itemising freight, GST (18%), COD collection fees, and expected delivery date (EDD).
  • Automated Ledger Reconciliation: Instant wallet balance debiting and dual-entry ledger logging (transactions) per order.
  • Standardised Tracking Schema: Raw milestone events from all 14 carriers map cleanly to numeric Hyloship status codes (e.g. 12 Pickup Pending, 14 In Transit, 15 Out for Delivery, 3 Delivered, 10 NDR, 5/13 RTO).

1.1 Environment Base URLs

Environment Base URL Usage
Production https://hyloship.com/admin/api Live order processing, active AWB allocation, and wallet deductions

2. Complete 14-Carrier Partner Directory & Technical Mapping

Master mapping table for all 14 carriers with their assigned IDs, transport modes, upstream engines, and payload requirements.

ID Courier Name Transport Modes Upstream Dispatch Engine Vol. Divisor Key Payload Attributes
2 Delhivery Air (Express), Surface Delhivery CMU & Express API (cmu/create.json) 5000 Auto-registers client warehouse (cmu), waybill sequence
3 BlueDart Air, Surface BlueDart APIGEE Gateway (PXBDE01) 5000 Enterprise credit customer code, pin code matrix lookup
4 XpressBees Air, Surface XpressBees B2C Manifestation API 5000 Pre-allocated AWB series pool (AirWayBillNO)
5 DTDC Air, Surface DTDC Smart REST API 5000 Consignment JSON, customer code GL7569
7 Ekart Logistics Air, Surface, SDD, NDD Ekart Elite Gateway (elite.ekartlogistics.in) 5000 Auto-registered pickup alias, qc_details, spellout value
8 Shadowfax Air (ndd), Surface Shadowfax Marketplace API 5000 Dynamic AWB pool reservation, nested customer/seller JSON
10 Blitz Logistics NDD, Surface Blitz Direct API (oyvm2iv4xj.execute-api) 5000 Millimetre dimensions (× 10), channel Aframax
11 Shree Maruti Air, Surface Delcaper Fulfillment REST API 5000 Max 55 chars auto-partitioning on Address 1 & 2
12 PiknDel Same Day, Surface PiknDel Backoffice API (api.pikndel.com) 5000 Latitude/Longitude support, Bike/Van vehicle dispatch
13 Parcel Uncle Same Day, 4H, Next Day Parcel Uncle Merchant v1 5000 service_type (SAME_DAY, EXPRESS_4H, NEXT_DAY)
14 India Post Speed Post, Business Parcel India Post DOP Bulk API 5000 Physical barcode pool assignment (ip_pincodes)
15 BD Air (1), Surface (55) Express Network Orchestrator 5000 BlueDart courier assignment ID 1/55 via express pool
16 DL Air (14), Surface (41) Express Network Orchestrator 5000 Delhivery courier assignment ID 14/41 via express pool
17 XB Air (33), Surface (51 / 24) Express Network Orchestrator 5000 XpressBees courier assignment ID 33 (Air) / 51 or 24 (Surface) via express pool
Note (Courier 17 assignment IDs): For XB (Courier 17), the upstream courier assignment ID is 33 for Air (XpressBees Air). For Surface it is 51 (XpressBees Surface 0.5–2 kg) when the shipment weighs less than 2 kg, and 24 (XpressBees Surface 2 kg) when it weighs 2 kg or more.
Audit status: Courier 17 was added after the last live audit (October 12, 2026) and has not been recorded in a live production test.

3. Master Status Reference & Milestone Normalisation

Regardless of which of the 14 couriers executes the delivery, all milestone queries (GET /track/order/{id}) map carrier-specific telemetry to standard Hyloship statuses:

Status Code Label Description & Typical Carrier Scan
1 New Order Ingested draft in Hyloship; pending manifestation.
2 Shipped AWB assigned; tracking number allocated by carrier.
12 Pickup Pending Manifest generated; awaiting physical scan by carrier driver.
14 In Transit Parcel moving between carrier sort facilities and hubs.
15 Out For Delivery (OFD) Parcel dispatched with delivery agent for doorstep delivery.
3 Delivered Shipment successfully handed over to consignee / recipient.
10 NDR / Undelivered Delivery attempt failed (customer unavailable, door locked, re-attempt).
5 RTO Initiated Return to origin initiated by carrier network.
13 RTO In Transit Returned package en route back to pickup warehouse.
6 RTO Delivered Returned package delivered back to shipper facility.
4 Cancelled Order cancelled prior to courier pickup scan.
16 Lost Consignment reported missing in courier transit network.
17 Damaged Package damaged during handling/transit.
Implementation Note: When querying /track/order/{id}, the returned fields hyloship_status and status deliver numeric codes represented as strings (e.g. "12", "14", "3"). Always match your ERP/WMS state machines against these standard numeric identifiers.

4. Authentication Framework

All protected endpoints in Hyloship require authentication using a Bearer token in the HTTP Authorization header.

4.1 Generate Bearer Token

POST /token-generate Auth: None

Request Payload
{
  "email": "seller@example.com",
  "password": "your_password"
}
Response (200 OK)
{
  "Bearer Token": "b59fd8456e1e89fe8031d03031655d856df10e96ca64c64a0cf3d49994427f3e",
  "Expired on": "2026-10-12 23:59:59"
}
Protected Endpoint Authorization Header
Authorization: Bearer b59fd8456e1e89fe8031d03031655d856df10e96ca64c64a0cf3d49994427f3e
Accept: application/json
Content-Type: application/json

5. Warehouse Management Lifecycle

Warehouses serve as origin pickup facilities and return locations (RTO). The warehouse_id returned is mandatory when manifesting orders via /create/orderawb.

5.1 Create / Update Warehouse

POST /warehouse Auth: Bearer Token

(Alias: POST /addWarehouse)

Request Fields

Field Type Required Description Example
name String Yes Unique facility title (min 3 chars) "Dwarka Central Hub"
contact_name String Yes Dispatch manager name "Aditya Vishvakarma"
company String Yes Registered shipper company name "HyloShip Logistics Pvt Ltd"
phone String Yes 10-digit driver contact number "9517485106"
email String No Dispatch notification email "dispatch@hyloship.com"
address String Yes Primary street address (max 255 chars) "SF 03, Eros Metro Mall"
address_2 String No Landmark, sector, floor details "Plot No 08, Sector 14 Dwarka"
city String Yes Origin city "New Delhi"
state String Yes Origin state "Delhi"
country_id Numeric Yes Master country ID (101 for India) 101
pincode Numeric Yes 6-digit origin postal code 110075
gst_no String No Shipper facility GSTIN "07AARCA0673K1ZB"
Request Payload
{
  "name": "Dwarka Central Hub",
  "contact_name": "Aditya Vishvakarma",
  "company": "HyloShip Logistics Pvt Ltd",
  "phone": "9517485106",
  "email": "dispatch@hyloship.com",
  "address": "SF 03, Eros Metro Mall",
  "address_2": "Plot No 08, Sector 14 Dwarka",
  "city": "New Delhi",
  "state": "Delhi",
  "country_id": 101,
  "pincode": 110075,
  "gst_no": "07AARCA0673K1ZB"
}
Response (200 OK)
{
  "success": true,
  "message": "Warehouse saved successfully",
  "warehouse_id": 39
}

5.2 List Registered Warehouses

GET /getWarehouse Auth: Bearer Token

Response (200 OK)
{
  "status": 1,
  "message": "Warehouse list fetched successfully",
  "data": [
    {
      "id": 39,
      "user_id": 30,
      "name": "Dwarka Central Hub",
      "contact_name": "Aditya Vishvakarma",
      "company": "HyloShip Logistics Pvt Ltd",
      "phone": "9517485106",
      "address": "SF 03, Eros Metro Mall",
      "address_2": "Plot No 08, Sector 14 Dwarka",
      "city": "New Delhi",
      "state": "Delhi",
      "pincode": 110075,
      "gst_no": "07AARCA0673K1ZB"
    }
  ]
}

5.3 Delete Warehouse

DELETE /warehouse/delete/{id} Auth: Bearer Token

(Alias: POST /delete-warehouse/{id})

Response (200 OK)
{
  "message": "Warehouse deleted successfully"
}

6. Carrier Catalogs & Real-Time Multi-Carrier Rate Calculator

6.1 Get Active Carrier Master Catalog

GET /get/courier Auth: Bearer Token

(Aliases: /couriers, /courier/list)

Returns all 14 supported carriers with their official tracking base URLs and available transport modes.

Response (200 OK)
{
  "success": true,
  "data": [
    { "courier_id": 2,  "name": "Delhivery",    "modes": ["Air", "Surface"], "tracking_url": "https://www.delhivery.com/track/package/" },
    { "courier_id": 3,  "name": "Bluedart",     "modes": ["Air", "Surface"], "tracking_url": "https://bluedart.com/tracking?" },
    { "courier_id": 4,  "name": "XpressBees",   "modes": ["Air", "Surface"], "tracking_url": "https://www.xpressbees.com/shipment/tracking?awbNo=" },
    { "courier_id": 5,  "name": "DTDC",         "modes": ["Air", "Surface"], "tracking_url": "https://www.dtdc.in/trace.asp?str=" },
    { "courier_id": 7,  "name": "Ekart",        "modes": ["Air", "Surface"], "tracking_url": "https://ekartlogistics.com/shipmenttrack/" },
    { "courier_id": 8,  "name": "Shadowfax",    "modes": ["Air", "Surface"], "tracking_url": "https://track.shadowfax.in/?ShipmentNumber=" },
    { "courier_id": 10, "name": "Blitz",        "modes": ["NDD", "Surface"], "tracking_url": "https://track.blitznow.in/" },
    { "courier_id": 11, "name": "Shree Maruti", "modes": ["Air", "Surface"], "tracking_url": "https://shreemaruti.com/track-shipment/" },
    { "courier_id": 12, "name": "PiknDel",      "modes": ["Surface"],        "tracking_url": "https://pikndel.com/tracking" },
    { "courier_id": 13, "name": "Parcel Uncle", "modes": ["Same Day", "Express 4H", "Next Day"], "tracking_url": "https://parceluncle.com/carrier/v1/merchant/shipments/" },
    { "courier_id": 14, "name": "India Post",   "modes": ["Surface"],        "tracking_url": "https://www.indiapost.gov.in/_layouts/15/dop.portal.tracking/trackconsignment.aspx?consignmentNo=" },
    { "courier_id": 15, "name": "BD",           "modes": ["Air", "Surface"], "tracking_url": "https://bluedart.com/tracking?" },
    { "courier_id": 16, "name": "DL",           "modes": ["Air", "Surface"], "tracking_url": "https://www.delhivery.com/track/package/" },
    { "courier_id": 17, "name": "XB",           "modes": ["Air", "Surface"], "tracking_url": "https://www.xpressbees.com/shipment/tracking?awbNo=" }
  ],
  "message": "Couriers retrieved successfully"
}

6.2 Get Account-Specific Active Ratecards

GET /active/courier Auth: Bearer Token

(Also supported via POST /active/courier)

Returns the exact configured weight slabs and active delivery transport modes allocated to your merchant account.

6.3 Real-Time Multi-Carrier Rate Calculator

POST /rate/calculate Auth: Bearer Token

(Alias: POST /calculaterate)

Calculates freight quotations in real-time across the integrated carriers serviceable for your account, automatically computing billable weight, applicable weight slab, 18% GST, and COD collection charges.

Request Payload
{
  "pickup_pin": 110075,
  "drop_pin": 400001,
  "length": 15,
  "breadth": 10,
  "height": 5,
  "weight": 500,
  "payment": "cod",
  "value": 1250,
  "shipment_type": "forward"
}
Response (200 OK)
{
  "status": 1,
  "message": "Success",
  "data": [
    { "courier_id": 7,  "name": "Ekart",        "mode": "Surface", "weight_used": "0.5", "price": "Rs.49.56", "cod": 15.0, "gst": 7.56,  "freight": 27.0,  "edd": "" },
    { "courier_id": 4,  "name": "XpressBees",   "mode": "Surface", "weight_used": "0.5", "price": "Rs.52.50", "cod": 15.0, "gst": 7.78,  "freight": 29.72, "edd": "" },
    { "courier_id": 11, "name": "Shree Maruti", "mode": "Surface", "weight_used": "0.5", "price": "Rs.54.28", "cod": 15.0, "gst": 8.28,  "freight": 31.0,  "edd": "" },
    { "courier_id": 2,  "name": "Delhivery",    "mode": "Surface", "weight_used": "0.5", "price": "Rs.62.54", "cod": 15.0, "gst": 9.54,  "freight": 38.0,  "edd": "15 Oct, 2026" },
    { "courier_id": 3,  "name": "Bluedart",     "mode": "Air",     "weight_used": "0.5", "price": "Rs.77.08", "cod": 15.0, "gst": 11.53, "freight": 50.55, "edd": "" },
    { "courier_id": 8,  "name": "Shadowfax",    "mode": "Surface", "weight_used": "0.5", "price": "Rs.51.00", "cod": 15.0, "gst": 7.78,  "freight": 28.22, "edd": "" },
    { "courier_id": 10, "name": "Blitz",        "mode": "Surface", "weight_used": "0.5", "price": "Rs.56.00", "cod": 15.0, "gst": 8.54,  "freight": 32.46, "edd": "" },
    { "courier_id": 12, "name": "PiknDel",      "mode": "Surface", "weight_used": "0.5", "price": "Rs.48.00", "cod": 15.0, "gst": 7.32,  "freight": 25.68, "edd": "" },
    { "courier_id": 13, "name": "Parcel Uncle", "mode": "Surface", "weight_used": "0.5", "price": "Rs.55.00", "cod": 15.0, "gst": 8.39,  "freight": 31.61, "edd": "" },
    { "courier_id": 14, "name": "India Post",   "mode": "Surface", "weight_used": "0.5", "price": "Rs.42.00", "cod": 15.0, "gst": 6.41,  "freight": 20.59, "edd": "" },
    { "courier_id": 15, "name": "BD",           "mode": "Air",     "weight_used": "0.5", "price": "Rs.79.00", "cod": 15.0, "gst": 12.05, "freight": 51.95, "edd": "" },
    { "courier_id": 16, "name": "DL",           "mode": "Surface", "weight_used": "0.5", "price": "Rs.64.00", "cod": 15.0, "gst": 9.76,  "freight": 39.24, "edd": "" }
  ]
}

7. Order Ingestion

7.1 Create Single Draft Order

POST /create/order Auth: Bearer Token

Request Fields

Field Type Required Description
vendor_order_id String Yes Merchant store order ID
ship_fname String Yes Consignee first name
ship_lname String No Consignee last name
ship_phone String Yes 10-digit mobile number
ship_email String Yes Consignee email address
ship_address String Yes Delivery street address
ship_address_2 String No Additional landmark or flat info
ship_city String Yes Destination city
ship_state String Yes Destination state
ship_pincode Numeric Yes 6-digit destination postal code
ship_country Numeric Yes Country ID (101 for India)
same_add Boolean Yes true if billing matches shipping
payment_mode String Yes "6" for Cash On Delivery (COD), "12" for Prepaid
total Numeric Yes Total invoice value in INR (min 1)
weight Numeric Yes Package gross weight in grams (e.g. 500)
length Numeric Yes Package length in cm
breadth Numeric Yes Package width / breadth in cm
height Numeric Yes Package height in cm
name Array Yes Parallel array of product names
code Array Yes Parallel array of SKU codes
qty Array Yes Parallel array of product quantities
price Array Yes Parallel array of unit prices
Request Payload
{
  "vendor_order_id": "ORD-LIVE-99201",
  "ship_fname": "Aditya",
  "ship_lname": "Vishvakarma",
  "ship_email": "aditya@example.com",
  "ship_phone": "9876543210",
  "ship_address": "Flat 101, Star Heights, Linking Road",
  "ship_address_2": "Near Bandra Station",
  "ship_city": "Mumbai",
  "ship_state": "Maharashtra",
  "ship_country": 101,
  "ship_pincode": 400001,
  "same_add": true,
  "payment_mode": "6",
  "total": 1250,
  "weight": 500,
  "length": 15,
  "breadth": 10,
  "height": 5,
  "name": ["Wireless Earbuds Pro"],
  "code": ["SKU-W-01"],
  "qty": [1],
  "price": [1250]
}
Response (201 Created)
{
  "success": true,
  "message": "Order Created Successfully!",
  "order_id": 81045
}

7.2 Bulk Order Upload

POST /bulk-order-upload Auth: Bearer Token

Upload batches of orders simultaneously via standard CSV / XLSX file multipart form upload.

curl --location 'https://hyloship.com/admin/api/bulk-order-upload' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
  --form 'file=@"/path/to/orders_batch.csv"'

8. Omni-Carrier AWB Manifestation

Manifestation assigns the chosen courier, books the shipment with the carrier's upstream API, generates the tracking AWB, and debits shipping fees from the wallet.

8.1 Manifest Endpoint

POST /create/orderawb Auth: Bearer Token

Request Fields

  • order_id (Numeric, Required): Internal Hyloship order ID (e.g. 81045).
  • courier_id (Numeric, Required): Courier Partner ID (2, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 16 or 17).
  • mode (String, Required): Transport mode: "Air", "Surface", "NDD", or "SDD".
  • warehouse_id (Numeric, Required): Origin pickup warehouse ID from /getWarehouse.
  • return_warehouse_id (Numeric, Optional): RTO warehouse ID (defaults to warehouse_id).
  • weight (Numeric, Required): Gross dead weight in grams (e.g. 500).
  • fragile (Boolean, Optional): Dangerous goods / fragile flag (true or false).

8.2 Payloads for All 14 Carriers

Exact JSON payload configurations for each supported courier:

// Delhivery Logistics (courier_id: 2)
{ "order_id": 81045, "courier_id": 2, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// BlueDart Express (courier_id: 3)
{ "order_id": 81045, "courier_id": 3, "mode": "Air", "warehouse_id": 39, "weight": 500 }

// XpressBees (courier_id: 4)
{ "order_id": 81045, "courier_id": 4, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// DTDC Express (courier_id: 5)
{ "order_id": 81045, "courier_id": 5, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// Ekart Logistics (courier_id: 7)
{ "order_id": 81045, "courier_id": 7, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// Shadowfax (courier_id: 8)
{ "order_id": 81045, "courier_id": 8, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// Blitz Logistics (courier_id: 10)
{ "order_id": 81045, "courier_id": 10, "mode": "NDD", "warehouse_id": 39, "weight": 500 }

// Shree Maruti Courier (courier_id: 11)
{ "order_id": 81045, "courier_id": 11, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// PiknDel Hyperlocal (courier_id: 12)
{ "order_id": 81045, "courier_id": 12, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// Parcel Uncle (courier_id: 13)
{ "order_id": 81045, "courier_id": 13, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// India Post (courier_id: 14)
{ "order_id": 81045, "courier_id": 14, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// BD (courier_id: 15)
{ "order_id": 81045, "courier_id": 15, "mode": "Air", "warehouse_id": 39, "weight": 500 }

// DL (courier_id: 16)
{ "order_id": 81045, "courier_id": 16, "mode": "Surface", "warehouse_id": 39, "weight": 500 }

// XB (courier_id: 17)
{ "order_id": 81045, "courier_id": 17, "mode": "Surface", "warehouse_id": 39, "weight": 500 }
Response (200 OK)
{
  "success": true,
  "message": "Order manifested and AWB generated successfully: 80135010196",
  "awb_number": "80135010196",
  "tracking_info": "80135010196",
  "order_id": 81045
}

8.3 Manifest State Transition

POST /manifest/order Auth: Bearer Token

Transitions manifested orders into ready-to-dispatch batch state.

curl --location 'https://hyloship.com/admin/api/manifest/order' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "order_id": [81045]
  }'

9. Tracking, Milestone Feeds & Shipping Labels

9.1 Universal Milestone Tracking

GET /track/order/{id} Auth: Bearer Token

Accepts internal order_id, carrier awb_number, or merchant vendor_order_id. Automatically connects to the relevant carrier gateway and normalises all scans.

Response (200 OK)
{
  "success": true,
  "shipment_history": [
    {
      "action": "MANIFESTED",
      "place": "New Delhi",
      "remarks": "Order Manifested and AWB Generated",
      "hyloship_status": "12",
      "status": "12",
      "date": "2026-10-12 10:15:00"
    },
    {
      "action": "PICKED UP",
      "place": "Dwarka Hub, New Delhi",
      "remarks": "Shipment picked up by courier associate",
      "hyloship_status": "14",
      "status": "14",
      "date": "2026-10-12 14:30:00"
    },
    {
      "action": "OUT FOR DELIVERY",
      "place": "Bandra Mother Hub, Mumbai",
      "remarks": "Out for delivery with associate",
      "hyloship_status": "15",
      "status": "15",
      "date": "2026-10-14 09:20:00"
    },
    {
      "action": "DELIVERED",
      "place": "Mumbai",
      "remarks": "Delivered to consignee",
      "hyloship_status": "3",
      "status": "3",
      "date": "2026-10-14 16:45:00"
    }
  ]
}

9.2 Generate Shipping Label

GET /generatelabel/{id} Auth: Bearer Token

Returns complete label consignee/shipper metadata and a direct download link.

Response (200 OK)
{
  "success": true,
  "data": {
    "order_id": 81045,
    "awb_number": "80135010196",
    "courier_id": 7,
    "label_details": {
      "courier_name": "Ekart",
      "mode": "Surface",
      "payment_mode": "COD",
      "collectable_amount": 1250,
      "consignee": {
        "name": "Aditya Vishvakarma",
        "phone": "9876543210",
        "address": "Flat 101, Star Heights, Linking Road",
        "city": "Mumbai",
        "state": "Maharashtra",
        "pincode": "400001"
      },
      "pickup_location": {
        "name": "Dwarka Central Hub",
        "address": "SF 03, Eros Metro Mall, Sector 14 Dwarka",
        "city": "New Delhi",
        "pincode": "110075",
        "phone": "9517485106"
      },
      "label_download_url": "https://hyloship.com/admin/order/shippingprint/81045"
    }
  }
}

10. Order Maintenance & Modification

10.1 View Orders (Paginated & Filterable)

POST /view/order Auth: Bearer Token

Request Filter Payload
{
  "start_date": "2026-10-01",
  "end_date": "2026-10-12",
  "status": "12",
  "page": 1
}

10.2 Update Unmanifested Draft Order

POST /update/order/{id} Auth: Bearer Token

Update customer phone, delivery address, quantities, or order totals before AWB generation.

curl --location 'https://hyloship.com/admin/api/update/order/81045' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "ship_phone": "9876543210",
    "ship_address": "Updated Flat 202, Star Heights, Linking Road"
  }'

10.3 Delete Unmanifested Order

DELETE /delete/order/{id} Auth: Bearer Token

Permanently deletes unmanifested draft orders (status 1 or cancelled 4).

curl --location --request DELETE 'https://hyloship.com/admin/api/delete/order/81045' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN'

10.4 Cancel Order

POST /cancel/order/{id} Auth: Bearer Token

Cancels an order. If manifested with a live courier, the upstream carrier cancellation hook is triggered.

curl --location 'https://hyloship.com/admin/api/cancel/order/81045' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN'

11. Wallet Accounting, Billable Weight Rules & Ledger Auditing

11.1 Volumetric & Billable Weight Formulae

Volumetric Weight (kg) = [ Length (cm) × Breadth (cm) × Height (cm) ] / 5000
Billable Weight (kg)   = max( Gross Weight (g) / 1000, Volumetric Weight (kg) )

Billable weights round upward into standard commercial billing slabs: 0.5, 1.0, 1.5, 2.0, 3.0, 3.5, 5.0, 10.0, 20.0, 30.0, 50.0 kg.

11.2 Double-Entry Accounting

Upon AWB generation, the system automatically creates atomic entries in the transactions ledger:

  1. Freight Charge Entry: Base freight + 18% GST debited from wallet.
  2. COD Charge Entry: Cash on delivery fee + 18% GST debited from wallet (if COD).
  3. Wallet Update: Real-time balance updated in admins.wallet_blc.

12. Comprehensive cURL Reference Suites

A. Authentication

curl --location 'https://hyloship.com/admin/api/token-generate' \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "seller@example.com",
    "password": "your_secure_password"
  }'

B. Create Warehouse

curl --location 'https://hyloship.com/admin/api/warehouse' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Dwarka Central Hub",
    "contact_name": "Aditya Vishvakarma",
    "company": "HyloShip Logistics",
    "phone": "9517485106",
    "email": "dispatch@hyloship.com",
    "address": "SF 03, Eros Metro Mall",
    "address_2": "Sector 14 Dwarka",
    "city": "New Delhi",
    "state": "Delhi",
    "country_id": 101,
    "pincode": 110075
  }'

C. Rate Calculator

curl --location 'https://hyloship.com/admin/api/rate/calculate' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "pickup_pin": 110075,
    "drop_pin": 400001,
    "length": 15,
    "breadth": 10,
    "height": 5,
    "weight": 500,
    "payment": "cod",
    "value": 1250,
    "shipment_type": "forward"
  }'

D. Create Order Draft

curl --location 'https://hyloship.com/admin/api/create/order' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "vendor_order_id": "ORD-LIVE-99201",
    "ship_fname": "Aditya",
    "ship_lname": "Vishvakarma",
    "ship_email": "aditya@example.com",
    "ship_phone": "9876543210",
    "ship_address": "Flat 101, Star Heights, Linking Road",
    "ship_city": "Mumbai",
    "ship_state": "Maharashtra",
    "ship_country": 101,
    "ship_pincode": 400001,
    "same_add": true,
    "payment_mode": "6",
    "total": 1250,
    "weight": 500,
    "length": 15,
    "breadth": 10,
    "height": 5,
    "name": ["Wireless Earbuds Pro"],
    "code": ["SKU-W-01"],
    "qty": [1],
    "price": [1250]
  }'

E. AWB Manifestation (Ekart Example)

curl --location 'https://hyloship.com/admin/api/create/orderawb' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "order_id": 81045,
    "courier_id": 7,
    "mode": "Surface",
    "warehouse_id": 39,
    "weight": 500
  }'

F. Track Shipment

curl --location 'https://hyloship.com/admin/api/track/order/81045' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN'

G. Get Printable Shipping Label

curl --location 'https://hyloship.com/admin/api/generatelabel/81045' \
  --header 'Authorization: Bearer YOUR_BEARER_TOKEN'

13. HTTP Status Codes & Error Handling Matrix

HTTP Code Condition Solution / Action
200 OK Operation completed successfully Process returned payload.
201 Created Order draft ingested Store order_id for manifestation.
400 Bad Request Business validation failed (e.g. insufficient wallet balance, already manifested) Top up wallet balance or check order status.
401 Unauthorized Token missing, invalid, or expired Re-authenticate via POST /token-generate.
404 Not Found Order ID or endpoint does not exist Verify ID against merchant account.
422 Unprocessable Missing required parameters or format mismatch Check field validation rules (e.g. 10-digit phone, exact title-case mode).
500 Server Error Upstream carrier gateway network failure Retry request with exponential backoff.

14. Security & Production Deployment Checklist

  1. Authentication Token Caching: Cache the bearer token locally until the expiry timestamp indicated in "Expired on".
  2. Pincode Pre-Validation: Always call POST /rate/calculate prior to dispatch to confirm pincode servicability.
  3. Idempotency Guard: Never execute multiple concurrent /create/orderawb calls with the same order_id.
  4. Webhook & Status Sync: Set up a cron or polling worker calling GET /track/order/{id} to synchronize delivery milestone events into your ERP / WMS.

15. Production Live API Test Audit Log

Live test suite executed against the production gateway on October 12, 2026. All 14 tests passed.

# Test Module Endpoint Method HTTP Audit Findings
1 Token Generation /token-generate POST 200 Verified credentials. Returned "Bearer Token" & "Expired on".
2 Create Warehouse /warehouse POST 200 Registered pickup facility in Dwarka; generated warehouse_id: 39.
3 Fetch Warehouses /getWarehouse GET 200 Retrieved active warehouse array for seller account.
4 Master Catalog /get/courier GET 200 Returned 14-carrier master catalog with tracking base URLs and modes.
5 Multi-Rate Check /rate/calculate POST 200 Computed live rates across carriers with 18% GST and COD fees.
6 Order Draft /create/order POST 201 Created order 81045 with item SKU details and address objects.
7 BlueDart Manifest /create/orderawb POST 200 Manifested courier_id: 3; generated live BlueDart AWB and debited wallet.
8 Delhivery Manifest /create/orderawb POST 200 Manifested courier_id: 2; verified client warehouse auto-resolution.
9 XpressBees Manifest /create/orderawb POST 200 Manifested courier_id: 4; allocated AWB from forward series pool.
10 Ekart Manifest /create/orderawb POST 200 Manifested courier_id: 7; verified auto-provisioning address alias.
11 Shree Maruti Manifest /create/orderawb POST 200 Manifested courier_id: 11; generated AWB via Delcaper engine.
12 Universal Tracking /track/order/{id} GET 200 Scans resolved across internal Order ID and AWB with numeric milestone codes.
13 Label Generation /generatelabel/{id} GET 200 Generated printable label link (shippingprint/{id}).
14 Cancellation Guard /cancel/order/{id} POST 200 / 400 Successfully cancelled draft; second attempt returned 400 "Already cancelled".

16. Postman Collection JSON (v3.2)

You can directly copy the full Hyloship Enterprise Logistics API v3.2 Postman Collection JSON below to import into your workspace, or download the collection file.

Click to Expand & Copy Postman JSON (v3.2)
{
  "info": {
    "_postman_id": "hyloship-multi-carrier-api-v3-2",
    "name": "Hyloship Enterprise Logistics API (v3.2 Omni-Carrier Production)",
    "description": "Comprehensive Master Integration Postman Collection for Hyloship REST API v3.2. Covers all 14 integrated carriers:\n- Delhivery (2)\n- BlueDart Express (3)\n- XpressBees (4)\n- DTDC Express (5)\n- Ekart Logistics (7)\n- Shadowfax (8)\n- Blitz Logistics (10)\n- Shree Maruti (11)\n- PiknDel Hyperlocal (12)\n- Parcel Uncle (13)\n- India Post (14)\n- BD (15)\n- DL (16)\n- XB (17)\n\n### Modules Included:\n1. Authentication (Token Generation)\n2. Warehouse Management Lifecycle (Create, List, Delete)\n3. Carrier Catalogs & Real-Time Rate Calculator\n4. Order Ingestion (Draft Ingestion, Bulk Upload)\n5. Omni-Carrier AWB Manifestation (All 14 Carriers + State Transition)\n6. Tracking & Shipping Labels\n7. Order Maintenance (View, Update, Delete, Cancel)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://hyloship.com/admin/api",
      "type": "string"
    },
    {
      "key": "email",
      "value": "seller@example.com",
      "type": "string"
    },
    {
      "key": "password",
      "value": "your_password",
      "type": "string"
    },
    {
      "key": "bearer_token",
      "value": "",
      "type": "string"
    },
    {
      "key": "order_id",
      "value": "81045",
      "type": "string"
    },
    {
      "key": "awb_number",
      "value": "80135010196",
      "type": "string"
    },
    {
      "key": "warehouse_id",
      "value": "39",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "1. Authentication",
      "item": [
        {
          "name": "Generate Bearer Token",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "",
                  "var jsonData = pm.response.json();",
                  "if (jsonData[\"Bearer Token\"]) {",
                  "    pm.collectionVariables.set(\"bearer_token\", jsonData[\"Bearer Token\"]);",
                  "    console.log(\"Saved bearer_token:\", jsonData[\"Bearer Token\"]);",
                  "}"
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"{{email}}\",\n  \"password\": \"{{password}}\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/token-generate",
              "host": ["{{base_url}}"],
              "path": ["token-generate"]
            },
            "description": "Generates Bearer Token for seller API authentication."
          }
        }
      ]
    },
    {
      "name": "2. Warehouse Management",
      "item": [
        {
          "name": "Create / Update Warehouse",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  "var jsonData = pm.response.json();",
                  "if (jsonData.warehouse_id) {",
                  "    pm.collectionVariables.set(\"warehouse_id\", String(jsonData.warehouse_id));",
                  "    console.log(\"Saved warehouse_id:\", jsonData.warehouse_id);",
                  "}"
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Dwarka Central Hub\",\n  \"contact_name\": \"Aditya Vishvakarma\",\n  \"company\": \"HyloShip Logistics Pvt Ltd\",\n  \"phone\": \"9517485106\",\n  \"email\": \"dispatch@hyloship.com\",\n  \"address\": \"SF 03, Eros Metro Mall\",\n  \"address_2\": \"Plot No 08, Sector 14 Dwarka\",\n  \"city\": \"New Delhi\",\n  \"state\": \"Delhi\",\n  \"country_id\": 101,\n  \"pincode\": 110075,\n  \"gst_no\": \"07AARCA0673K1ZB\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/warehouse",
              "host": ["{{base_url}}"],
              "path": ["warehouse"]
            },
            "description": "Registers or updates an origin pickup facility and returns `warehouse_id`. (Alias: POST /addWarehouse)"
          }
        },
        {
          "name": "List Registered Warehouses",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/getWarehouse",
              "host": ["{{base_url}}"],
              "path": ["getWarehouse"]
            },
            "description": "Retrieves all registered warehouses and pickup locations for the seller account."
          }
        },
        {
          "name": "Delete Warehouse",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/warehouse/delete/{{warehouse_id}}",
              "host": ["{{base_url}}"],
              "path": ["warehouse", "delete", "{{warehouse_id}}"]
            },
            "description": "Deletes a registered warehouse by ID. (Alias: POST /delete-warehouse/{id})"
          }
        }
      ]
    },
    {
      "name": "3. Carrier Catalogs & Rate Calculator",
      "item": [
        {
          "name": "Get Master Couriers Catalog (All 14 Carriers)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/get/courier",
              "host": ["{{base_url}}"],
              "path": ["get", "courier"]
            },
            "description": "Returns master list of all 14 supported carriers with tracking URLs and modes."
          }
        },
        {
          "name": "Get Account-Specific Active Ratecards",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/active/courier",
              "host": ["{{base_url}}"],
              "path": ["active", "courier"]
            },
            "description": "Returns active carriers and configured weight slabs for the seller account."
          }
        },
        {
          "name": "Real-Time Rate Calculator (Forward COD)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"pickup_pin\": 110075,\n  \"drop_pin\": 400001,\n  \"length\": 15,\n  \"breadth\": 10,\n  \"height\": 5,\n  \"weight\": 500,\n  \"payment\": \"cod\",\n  \"value\": 1250,\n  \"shipment_type\": \"forward\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/rate/calculate",
              "host": ["{{base_url}}"],
              "path": ["rate", "calculate"]
            },
            "description": "Calculates freight, 18% GST, COD charges and dynamic EDD across serviceable carriers. (Alias: POST /calculaterate)"
          }
        }
      ]
    },
    {
      "name": "4. Order Ingestion",
      "item": [
        {
          "name": "Create Single Draft Order",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 201\", function () {",
                  "    pm.response.to.have.status(201);",
                  "});",
                  "var jsonData = pm.response.json();",
                  "if (jsonData.order_id) {",
                  "    pm.collectionVariables.set(\"order_id\", String(jsonData.order_id));",
                  "    console.log(\"Saved order_id:\", jsonData.order_id);",
                  "}"
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vendor_order_id\": \"ORD-LIVE-99201\",\n  \"ship_fname\": \"Aditya\",\n  \"ship_lname\": \"Vishvakarma\",\n  \"ship_email\": \"aditya@example.com\",\n  \"ship_phone\": \"9876543210\",\n  \"ship_address\": \"Flat 101, Star Heights, Linking Road\",\n  \"ship_address_2\": \"Near Bandra Station\",\n  \"ship_city\": \"Mumbai\",\n  \"ship_state\": \"Maharashtra\",\n  \"ship_country\": 101,\n  \"ship_pincode\": 400001,\n  \"same_add\": true,\n  \"payment_mode\": \"6\",\n  \"total\": 1250,\n  \"weight\": 500,\n  \"length\": 15,\n  \"breadth\": 10,\n  \"height\": 5,\n  \"name\": [\"Wireless Earbuds Pro\"],\n  \"code\": [\"SKU-W-01\"],\n  \"qty\": [1],\n  \"price\": [1250]\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/order",
              "host": ["{{base_url}}"],
              "path": ["create", "order"]
            },
            "description": "Creates a single draft order in Hyloship awaiting courier manifestation."
          }
        },
        {
          "name": "Bulk Order Upload (CSV/XLSX)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "description": "Standard CSV or XLSX batch orders file"
                }
              ]
            },
            "url": {
              "raw": "{{base_url}}/bulk-order-upload",
              "host": ["{{base_url}}"],
              "path": ["bulk-order-upload"]
            },
            "description": "Upload batches of orders simultaneously via standard CSV / XLSX multipart form upload."
          }
        }
      ]
    },
    {
      "name": "5. Omni-Carrier AWB Manifestation",
      "item": [
        {
          "name": "Manifest Order - Delhivery (courier_id: 2)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 2,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - BlueDart (courier_id: 3)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 3,\n  \"mode\": \"Air\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - XpressBees (courier_id: 4)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 4,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - DTDC Express (courier_id: 5)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 5,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - Ekart Logistics (courier_id: 7)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 7,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - Shadowfax (courier_id: 8)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 8,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - Blitz Logistics (courier_id: 10)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 10,\n  \"mode\": \"NDD\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - Shree Maruti (courier_id: 11)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 11,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - PiknDel Hyperlocal (courier_id: 12)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 12,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - Parcel Uncle (courier_id: 13)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 13,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - India Post (courier_id: 14)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 14,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - BD (courier_id: 15)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 15,\n  \"mode\": \"Air\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - DL (courier_id: 16)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 16,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest Order - XB (courier_id: 17)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": {{order_id}},\n  \"courier_id\": 17,\n  \"mode\": \"Surface\",\n  \"warehouse_id\": {{warehouse_id}},\n  \"weight\": 500\n}"
            },
            "url": {
              "raw": "{{base_url}}/create/orderawb",
              "host": ["{{base_url}}"],
              "path": ["create", "orderawb"]
            }
          }
        },
        {
          "name": "Manifest State Transition",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order_id\": [{{order_id}}]\n}"
            },
            "url": {
              "raw": "{{base_url}}/manifest/order",
              "host": ["{{base_url}}"],
              "path": ["manifest", "order"]
            },
            "description": "Transitions manifested orders into ready-to-dispatch batch state."
          }
        }
      ]
    },
    {
      "name": "6. Tracking & Shipping Labels",
      "item": [
        {
          "name": "Universal Milestone Tracking",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/track/order/{{order_id}}",
              "host": ["{{base_url}}"],
              "path": ["track", "order", "{{order_id}}"]
            },
            "description": "Universal tracking endpoint accepting order_id, awb_number, or vendor_order_id."
          }
        },
        {
          "name": "Generate Shipping Label",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/generatelabel/{{order_id}}",
              "host": ["{{base_url}}"],
              "path": ["generatelabel", "{{order_id}}"]
            },
            "description": "Returns full printable shipping label metadata and PDF download URL."
          }
        }
      ]
    },
    {
      "name": "7. Order Maintenance & Modification",
      "item": [
        {
          "name": "View Orders (List & Filter)",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"start_date\": \"2026-10-01\",\n  \"end_date\": \"2026-10-12\",\n  \"status\": \"12\",\n  \"page\": 1\n}"
            },
            "url": {
              "raw": "{{base_url}}/view/order",
              "host": ["{{base_url}}"],
              "path": ["view", "order"]
            },
            "description": "Returns paginated and filtered list of seller orders."
          }
        },
        {
          "name": "Update Unmanifested Draft Order",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ship_phone\": \"9876543210\",\n  \"ship_address\": \"Updated Flat 202, Star Heights, Linking Road\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/update/order/{{order_id}}",
              "host": ["{{base_url}}"],
              "path": ["update", "order", "{{order_id}}"]
            },
            "description": "Updates customer phone, delivery address, quantities, or order totals before AWB generation."
          }
        },
        {
          "name": "Delete Unmanifested Order",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/delete/order/{{order_id}}",
              "host": ["{{base_url}}"],
              "path": ["delete", "order", "{{order_id}}"]
            },
            "description": "Permanently deletes unmanifested draft orders (status 1 or cancelled 4)."
          }
        },
        {
          "name": "Cancel Order",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearer_token}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/cancel/order/{{order_id}}",
              "host": ["{{base_url}}"],
              "path": ["cancel", "order", "{{order_id}}"]
            },
            "description": "Cancels an order. If manifested with a live courier, triggers upstream carrier cancellation hook."
          }
        }
      ]
    }
  ]
}