Create orders in batch
1 min
POST
https://{domain}/app/logisticsorders/v1/api/orders/batch
X-COREOS-REQUEST-IDstringUnique requestId
X-COREOS-TIDstringTenant id
X-COREOS-ACCESSstring<p>core-os access token</p>
X-COREOS-USERINFOstring<p>core-os user info token</p>
X-COREOS-CALLBACK-SECRETstring<p>Core-os secret token</p>
bodyobject
202Accepted
400Validation Error Occurred
401Error Occurred
curl --request POST \
--url https://{domain}/app/logisticsorders/v1/api/orders/batch \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-coreos-request-id: string' \
--header 'x-coreos-tid: string' \
--header 'x-coreos-access: string' \
--header 'x-coreos-userinfo: string' \
--data '{
"orders": [
{
"dropDetails": {
"contact": {},
"location": {}
},
"orderSummary": {
"totalWeight": {
"value": ""
},
"totalVolume": {
"value": ""
},
"totalOrderCost": {
"cost": ""
}
},
"clientDetails": {
"clientOrderId": ""
},
"mps": {},
"eWaybillAttributes": {},
"productType": "",
"shipmentFlow": "",
"pickupDetails": {
"contact": {},
"location": {}
},
"actions": {
"qcValidation": {
"isRequired": ""
},
"kycVerification": {
"isRequired": ""
},
"otpVerification": {
"isRequired": ""
},
"signatureCollection": {
"isRequired": ""
}
},
"maxAttempts": 3,
"teamId": "",
"readyToProcess": true,
"containers": [
{
"containerType": "Shipment",
"scannableId": "",
"trackingDetails": {
"operator": "",
"trackingId": ""
}
}
]
}
]
}'Create orders in batch