Please refer to the corrected CURL below along with success response.
REQUEST:
curl --location 'https://staging-express.delhivery.com/api/cmu/create.json' \
--header 'Authorization: Token 7c31e6de2aabcd771507740689056beea840cd06' \
--header 'Content-Type: application/json' \
--header 'Cookie: __cf_bm=HAeBKVCm5ye4eWmEoGmdUyOO4Pbjv8A3C.b.BsncLvw-1764827651-1.0.1.1-f9TFGCHKwzuQRG9ForjKEJ_Cwim1parMdrRPNqKtvpB8NnrslqPhtYvPLZb2ugMaVRQ1RS6NJDHVFiPlmjcJIWY7nCOYIQkUp6mabZZKRYQ; sessionid=48icbyloo0kcwlu6cl35rf9d608srfgh' \
--data-raw 'format=json&data={
"shipments": [
{
"waybill": "",
"order": "TESTORDER1764223767",
"products_desc": "Blue Cotton Shirt",
"cod_amount": 0,
"payment_mode": "Prepaid",
"total_amount": 799,
"add": "Plot No 5, Sector 18",
"city": "Hyderabad",
"state": "Telangana",
"country": "India",
"phone": "9726357605",
"email": "amit.kumar@example.com",
"pin": "500025",
"name": "Amit Kumar",
"weight": 0.5,
"pieces": 1,
"client": "GBXPRESSSURFACE-B2C",
"order_date": "2025-12-03 06:09:27",
"product_name": "Blue Cotton Shirt",
"seller_add": "Warehouse Block A, Shihor",
"seller_name": "Jarawala Warehouse",
"seller_inv": "INV-1764223767",
"seller_phone": "9726357605",
"seller_pincode": "364240",
"return_add": "Warehouse Block A, Shihor",
"return_city": "Shihor",
"return_state": "Gujarat",
"return_pin": "364240"
}
],
"pickup_location": {
"name": "GBXPRESS SURFACE"
}
}'
RESPONSE:
{
"cash_pickups_count": 0.0,
"package_count": 1,
"upload_wbn": "UPL9037019668890273333",
"replacement_count": 0,
"pickups_count": 0,
"packages": [
{
"status": "Success",
"client": "GBXPRESSSURFACE-B2C",
"sort_code": null,
"remarks": [
""
],
"waybill": "84898210000011",
"cod_amount": 0.0,
"payment": "Pre-paid",
"serviceable": false,
"refnum": "TESTORDER1764223767"
}
],
"cash_pickups": 0.0,
"cod_count": 0,
"success": true,
"prepaid_count": 1,
"cod_amount": 0.0
}
-> I will suggest reffering the API document mentioned below having all the API details and use the CURL proeprly as mentioned in this document: