Update Order core & custom attributes
1 min
PUT
https://{domain}/app/logisticsorders/v1/api/orders/edit/{orderId}
orderIdstringCode of an entity.
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>
bodyobject
200Accepted
400Error Occurred
401Error Occurred
curl --request PUT \
--url https://{domain}/app/logisticsorders/v1/api/orders/edit/{orderId} \
--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 '{
"orderSummary": {
"totalWeight": {
"value": ""
},
"totalVolume": {
"value": ""
},
"totalOrderCost": {
"cost": ""
}
},
"eWaybillAttributes": {},
"actions": {
"qcValidation": {
"isRequired": ""
},
"kycVerification": {
"isRequired": ""
},
"otpVerification": {
"isRequired": ""
},
"signatureCollection": {
"isRequired": ""
}
},
"containers": [
{
"containerType": "Shipment",
"scannableId": ""
}
]
}'Update Order core & custom attributes