DispatchOne Solution
...
LogisticsOrder API
Integrate with Logistics Order
How to: Update Order
3min
prerequisite for more information, see integrate with integrate with logistics order docid\ lgpwxpxeuqvfmdy eddbd update orders orders can be updated in two ways using the order id and the clientid 1\ to update an order using the order id, call the following endpoint put /orders/{orderid} specify the required details in the request body using json format the following example shows how to update an existing order { "dropdetails" { "contact" "string", "location" "string" }, "ordersummary" { "invoicenumber" "string", "orderdescription" "string", "totalweight" { "value" 9999999 }, "totalvolume" { "value" 9999999 }, "totalordercost" { "cost" 0, "currencycode" "string", "minorunit" 0 }, "totalinvoice" { "value" 1000000000000, "currencycode" "string", "minorunit" 0 } }, "mps" { "groupid" "string", "groupsize" 0, "isenabled" false, "ispartial" true }, "pickupdetails" { "contact" "string", "location" "string", "pickupslot" { "from" 0, "to" 0 }, "servicetime" 43200, "instruction" "string" }, "deliverydetails" { "deliveryslot" { "from" 0, "to" 0 }, "servicetime" 43200, "instruction" "string" }, "ewaybillattributes" { "is valid ewaybill" false, "ewaybills" \[ "string" ] }, "returndetails" { "contact" "string", "location" "string", "returnslot" { "from" 0, "to" 0 }, "servicetime" 43200 }, "paymentinformation" { "paymenttype" "gbopbxecikerphlchfldhltqeaybrshoaeouwgnediwaqtmltilqfa", "paymentoption" "string" }, "callback" { "meta" {}, "url" "https //delhivery requestcatcher com/" }, "containers" \[ { "containertype" "shipments", "scannableid" "string", "attributes" { "dimensions" { "weight" 0, "volume" 0, "length" 0, "width" 0, "height" 0 }, "description" "toys" } } ], "priority" 3, "seqno" 20000, "teamid" "pw9i srottr 14wx 9ey6nbted06cjx9yjv vxawmyzpjmrw72gzmr8eduhflb2lljv\ bzjrxfd\ o731tkyswg", "routetag" "wbrounktp7pahytztbfcpmn82dpseb3w" } 2\ to update an order using the client order id, call the following endpoint put /clients/{clientid}/orders/{clientorderid} specify the required details in the request body using json format the following example shows how to update an existing order { "dropdetails" { "contact" "+15551234567", "location" "queens" }, "ordersummary" { "invoicenumber" "12345678", "orderdescription" "updated order description", "totalweight" { "value" 2 5 }, "totalvolume" { "value" 0 5 }, "totalordercost" { "cost" 50 00, "currencycode" "usd", "minorunit" 2 }, "totalinvoice" { "cost" 55 00, "currencycode" "usd", "minorunit" 2 } }, "mps" { "isenabled" false }, "pickupdetails" { "contact" "+15559876543", "location" "new jersey", "pickupslot" { "from" 1656432000, "to" 1656435600 }, "servicetime" 30, "instruction" "please call before pickup" }, "paymentinformation" { "paymenttype" "prepaid", "paymentoption" "card" }, "deliverydetails" { "deliveryslot" { "from" 1656457200, "to" 1656460800 }, "servicetime" 15, "instruction" "leave at the front door if no one answers" }, "priority" 2, "seqno" 1, "teamid" "team123", "routetag" "route a" }