{"info":{"_postman_id":"82db8c5f-fce2-4332-a5e0-5180770c4e20","name":"LoadShare Hyperlocal Delivery Platform","description":"<html><head></head><body><h2 id=\"getting-started\">Getting Started</h2>\n<p>This document is divided into 2 sections:</p>\n<ul>\n<li><strong>Core Systems:</strong> These are the bare minimum list of details required in order to service any order.</li>\n<li><strong>Additional Features:</strong> These items are optional, but they help improve the overall delivery experience.</li>\n</ul>\n<p><strong>Testing Endpoint</strong>: <a href=\"\">https://api-staging.loadshare.net</a></p>\n<p>{{customer-code}} and {{token}} will be shared during integration.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20331024","collectionId":"82db8c5f-fce2-4332-a5e0-5180770c4e20","publishedId":"Uyxeqoqq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-10T21:33:53.000Z"},"item":[{"name":"Core Systems","item":[{"name":"Serviceability Check API","event":[{"listen":"prerequest","script":{"id":"c1cf2594-278a-483e-8050-975d4e0f64c7","exec":["var CryptoJS = require(\"crypto-js\");","","//Staging","var customerCode = pm.globals.get(\"customer-code\");  ","var token = pm.globals.get(\"token\");","","var genearteRandomOrderId = () =>{","    var min = 1111111111;","    var max = 5555555555;","","    min = Math.ceil(min);","    max = Math.floor(max);","    return `Test-${Math.floor(Math.random() * (max - min + 1)) + min}`;","}","","var orderId = genearteRandomOrderId();","console.log(orderId);","","var checkSum = CryptoJS.SHA256(`${token}|${customerCode}|${orderId}`).toString();","","console.log(checkSum);","","pm.environment.set(\"checksum\", checkSum);","pm.environment.set(\"requestID\", orderId);",""],"type":"text/javascript"}}],"id":"19875926-5001-419e-aa63-e6db85638d41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentValue\": {\n        \"value\": 690,\n        \"unit\": \"INR\"\n    },\n    \"shipmentType\": \"FOOD\",\n    \"tasks\": [\n        {\n            \"type\": \"PICK_UP\",\n            \"capabilitiesRequired\": [],\n            \"address\": {\n                \"outletName\": \"Taco Bell, Koramangala\",\n                \"address\": \"Sony World Junction, 36, 100 Feet Rd, Venkappa Garden, Koramangala, Bengaluru, Karnataka 560095\"\n            },\n            \"pay\": {\n                \"value\": 0,\n                \"unit\": \"INR\"\n            },\n            \"location\": {\n                \"latitude\": 30.33535,\n                \"longitude\": 76.38285399999995\n            },\n            \"items\": [\n                {\n                    \"id\": \"29270869\",\n                    \"name\": \"Double Chicken Wrap\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 295,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"39095353\",\n                    \"name\": \"Butter Chicken Burger\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 220,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"81736359\",\n                    \"name\": \"French Fries\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 155,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ]\n        },\n        {\n            \"type\": \"DROP\",\n            \"capabilitiesRequired\": [],\n            \"collect\": {\n                \"value\": 0,\n                \"unit\": \"INR\"\n            },\n            \"location\": {\n                \"latitude\": 30.317538175857635,\n                \"longitude\": 76.3537372648716\n            },\n            \"items\": [\n                {\n                    \"id\": \"29270869\",\n                    \"name\": \"Double Chicken Wrap\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 295,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"39095353\",\n                    \"name\": \"Butter Chicken Burger\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 220,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"81736359\",\n                    \"name\": \"French Fries\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 155,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ],\n            \"predictedDistanceInMetre\": 4200\n        }\n    ],\n    \"promisedSlaInEpoch\": {\n        \"assignment\": 1676010804000,\n        \"total\": 1676013859000\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/checkServiceability","description":"<h4 id=\"this-is-always-the-first-api-to-be-called-before-an-order-can-be-placed-in-our-system\">This is always the first API to be called before an order can be placed in our system.</h4>\n<h4 id=\"note-an-order-can-only-be-created-after-getting-a-true-response-to-the-serviceability-check\">NOTE: an order can only be created after getting a true response to the serviceability check.</h4>\n<h4 id=\"more-details-about-serviceability-check-can-be-seen-here-click-me\"><a href><b>More details about serviceability check can be seen here (Click me!)</b></a></h4>\n","urlObject":{"path":["hyperlocal","v2","order","checkServiceability"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"9df1f442-93f5-4545-bfef-d54e5b0d5518","name":"is Serviceable","originalRequest":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentValue\": {\n        \"value\": 690,\n        \"unit\": \"INR\"\n    },\n    \"shipmentType\": \"FOOD\",\n    \"tasks\": [\n        {\n            \"type\": \"PICK_UP\",\n            \"capabilitiesRequired\": [],\n            \"address\": {\n                \"outletName\": \"Taco Bell, Koramangala\",\n                \"address\": \"Sony World Junction, 36, 100 Feet Rd, Venkappa Garden, Koramangala, Bengaluru, Karnataka 560095\"\n            },\n            \"pay\": {\n                \"value\": 0,\n                \"unit\": \"INR\"\n            },\n            \"location\": {\n                \"latitude\": 30.33535,\n                \"longitude\": 76.38285399999995\n            },\n            \"items\": [\n                {\n                    \"id\": \"29270869\",\n                    \"name\": \"Double Chicken Wrap\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 295,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"39095353\",\n                    \"name\": \"Butter Chicken Burger\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 220,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"81736359\",\n                    \"name\": \"French Fries\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 155,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ]\n        },\n        {\n            \"type\": \"DROP\",\n            \"capabilitiesRequired\": [],\n            \"collect\": {\n                \"value\": 0,\n                \"unit\": \"INR\"\n            },\n            \"location\": {\n                \"latitude\": 30.317538175857635,\n                \"longitude\": 76.3537372648716\n            },\n            \"items\": [\n                {\n                    \"id\": \"29270869\",\n                    \"name\": \"Double Chicken Wrap\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 295,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"39095353\",\n                    \"name\": \"Butter Chicken Burger\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 220,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"81736359\",\n                    \"name\": \"French Fries\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 155,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ],\n            \"predictedDistanceInMetre\": 4200\n        }\n    ],\n    \"promisedSlaInEpoch\": {\n        \"assignment\": 1676010804000,\n        \"total\": 1676013859000\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/checkServiceability"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"isServiceable\": true\n}"},{"id":"65063bf9-8452-4388-adfd-c091b1fedbba","name":"is NOT Serviceable","originalRequest":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentValue\": {\n        \"value\": 690,\n        \"unit\": \"INR\"\n    },\n    \"shipmentType\": \"FOOD\",\n    \"tasks\": [\n        {\n            \"type\": \"PICK_UP\",\n            \"capabilitiesRequired\": [],\n            \"address\": {\n                \"outletName\": \"Taco Bell, Koramangala\",\n                \"address\": \"Sony World Junction, 36, 100 Feet Rd, Venkappa Garden, Koramangala, Bengaluru, Karnataka 560095\"\n            },\n            \"pay\": {\n                \"value\": 0,\n                \"unit\": \"INR\"\n            },\n            \"location\": {\n                \"latitude\": 30.33535,\n                \"longitude\": 76.38285399999995\n            },\n            \"items\": [\n                {\n                    \"id\": \"29270869\",\n                    \"name\": \"Double Chicken Wrap\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 295,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"39095353\",\n                    \"name\": \"Butter Chicken Burger\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 220,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"81736359\",\n                    \"name\": \"French Fries\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 155,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ]\n        },\n        {\n            \"type\": \"DROP\",\n            \"capabilitiesRequired\": [],\n            \"collect\": {\n                \"value\": 0,\n                \"unit\": \"INR\"\n            },\n            \"location\": {\n                \"latitude\": 30.317538175857635,\n                \"longitude\": 76.3537372648716\n            },\n            \"items\": [\n                {\n                    \"id\": \"29270869\",\n                    \"name\": \"Double Chicken Wrap\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 295,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"39095353\",\n                    \"name\": \"Butter Chicken Burger\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 220,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"81736359\",\n                    \"name\": \"French Fries\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 155,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ],\n            \"predictedDistanceInMetre\": 4200\n        }\n    ],\n    \"promisedSlaInEpoch\": {\n        \"assignment\": 1676010804000,\n        \"total\": 1676013859000\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/checkServiceability"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"isServiceable\": false\n}"},{"id":"9a51e2d9-4ebe-4719-a4cf-7ef590d22939","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentValue\": {\n        \"value\": 690,\n        \"unit\": \"INR\"\n    },\n    \"shipmentType\": \"FOOD\",\n    \"tasks\": [\n        {\n            \"type\": \"PICK_UP\",\n            \"capabilitiesRequired\": [],\n            \"address\": {\n                \"outletName\": \"Taco Bell, Koramangala\",\n                \"address\": \"Sony World Junction, 36, 100 Feet Rd, Venkappa Garden, Koramangala, Bengaluru, Karnataka 560095\"\n            },\n            \"pay\": {\n                \"value\": 0,\n                \"unit\": \"INR\"\n            },\n            \"location\": {\n                \"latitude\": 30.33535,\n                \"longitude\": 76.38285399999995\n            },\n            \"items\": [\n                {\n                    \"id\": \"29270869\",\n                    \"name\": \"Double Chicken Wrap\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 295,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"39095353\",\n                    \"name\": \"Butter Chicken Burger\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 220,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"81736359\",\n                    \"name\": \"French Fries\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 155,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ]\n        },\n        {\n            \"type\": \"DROP\",\n            \"capabilitiesRequired\": [],\n            \"collect\": {\n                \"value\": 0,\n                \"unit\": \"INR\"\n            },\n            \"location\": {\n                \"latitude\": 30.317538175857635,\n                \"longitude\": 76.3537372648716\n            },\n            \"items\": [\n                {\n                    \"id\": \"29270869\",\n                    \"name\": \"Double Chicken Wrap\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 295,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"39095353\",\n                    \"name\": \"Butter Chicken Burger\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 220,\n                        \"unit\": \"INR\"\n                    }\n                },\n                {\n                    \"id\": \"81736359\",\n                    \"name\": \"French Fries\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 155,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ],\n            \"predictedDistanceInMetre\": 4200\n        }\n    ],\n    \"promisedSlaInEpoch\": {\n        \"assignment\": 1676010804000,\n        \"total\": 1676013859000\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/checkServiceability"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"HPL_CHKSER_300\",\n    \"message\": \"Implementation not found.\",\n    \"referenceId\": \"e2723437-37cb-46eb-81e2-b992312f2a2f\"\n}"}],"_postman_id":"19875926-5001-419e-aa63-e6db85638d41"},{"name":"Order Creation API","event":[{"listen":"prerequest","script":{"id":"3a2903cc-8bab-4812-a2d0-e704472bee12","exec":["var CryptoJS = require(\"crypto-js\");","","//Staging","var customerCode = pm.globals.get(\"customer-code\");  ","var token = pm.globals.get(\"token\");","","var genearteRandomOrderId = () =>{","    var min = 1111111111;","    var max = 5555555555;","","    min = Math.ceil(min);","    max = Math.floor(max);","    return `Test-${Math.floor(Math.random() * (max - min + 1)) + min}`;","}","","var orderId = genearteRandomOrderId();","console.log(orderId);","","var checkSum = CryptoJS.SHA256(`${token}|${customerCode}|${orderId}`).toString();","","console.log(checkSum);","","pm.environment.set(\"checksum\", checkSum);","pm.environment.set(\"requestID\", orderId);"],"type":"text/javascript"}}],"id":"6589c49a-8837-4133-9a5a-c6ba876e4607","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serviceabilityRequestId\": \"{{requestId}}\",\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentDetails\": {\n        \"shipmentValue\": {\n            \"value\": 331,\n            \"unit\": \"INR\"\n        },\n        \"shipmentType\": \"FOOD\",        \n        \"tasks\": [\n            {\n                \"type\": \"PICK_UP\",\n                \"address\": {\n                    \"name\": \"The Good Bowl\",\n                    \"outletName\": \"The Good Bowl\",\n                    \"city\": \"Kolkata\",\n                    \"contact\": 8828100666,\n                    \"directions\": \"Opposite forum mall\",\n                    \"location\": {\n                        \"latitude\": 22.530242,\n                        \"longitude\": 88.36866800000007\n                    },\n                    \"address\": \"29 Old Ballygune, First Lane, Kolkata 700019\"\n                },\n                \"pay\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],\n                \"instructions\":[\"Entry at the back door\"],            \n                \"metadata\": {\n                    \"predictedShipmentReadyTimeInEpoch\": 1675968505000,\n                    \"passcode\": 1231,\n                    \"rto_passcode\": 3241\n                }\n            },\n            {\n                \"type\": \"DROP\",\n                \"address\": {\n                    \"name\": \"Abhinav Paul\",\n                    \"outletName\": \"Abhinav Paul\",\n                    \"city\": \"Kolkata\",\n                    \"location\": {\n                        \"latitude\": 22.537395106618785,\n                        \"longitude\": 88.35197199136019\n                    },\n                    \"voiceDirectionsURI\": \"test.uri.com\",\n                    \"directions\": \"Opposite forum mall\",\n                    \"address\": \"41 Gin road  , Kamal apartment flat 300 Kolkata 700020,Elign Rd, Bhowanipore, Kolkata, West Bengal 700020, India. (Kamal Apartment)\"\n                },\n                \"collect\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],                \n                \"instructions\":[\"Leave at the Door\", \"Don't ring bell\"],\n                \"metadata\": {\n                    \"predictedDistanceInMetre\": 2400,\n                    \"passcode\": 1231\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/create","description":"<h4 id=\"this-is-the-api-call-used-to-create-an-order-in-our-system-please-call-this-api-immediately-after-getting-a-true-response-from-the-serviceability-check-api\">This is the API call used to create an order in our system. Please call this API immediately after getting a true response from the Serviceability Check API</h4>\n<h4 id=\"more-details-about-order-creation-can-be-seen-here-click-me\"><a href=\"https://whimsical.com/lsn-hyperlocal-serviceability-ordercreation-flows-32nJwf7bYRuchE2V7XycUg\">More details about order creation can be seen here (Click me!)</a></h4>\n","urlObject":{"path":["hyperlocal","v2","order","create"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"46631c7d-e849-4cfe-a355-164a804a9ea7","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serviceabilityRequestId\": \"{{requestId}}\",\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentDetails\": {\n        \"shipmentValue\": {\n            \"value\": 331,\n            \"unit\": \"INR\"\n        },\n        \"shipmentType\": \"FOOD\",        \n        \"tasks\": [\n            {\n                \"type\": \"PICK_UP\",\n                \"address\": {\n                    \"name\": \"The Good Bowl\",\n                    \"outletName\": \"The Good Bowl\",\n                    \"city\": \"Kolkata\",\n                    \"contact\": 8828100666,\n                    \"directions\": \"Opposite forum mall\",\n                    \"location\": {\n                        \"latitude\": 22.530242,\n                        \"longitude\": 88.36866800000007\n                    },\n                    \"address\": \"29 Old Ballygune, First Lane, Kolkata 700019\"\n                },\n                \"pay\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],\n                \"instructions\":[\"Entry at the back door\"],            \n                \"metadata\": {\n                    \"predictedShipmentReadyTimeInEpoch\": 1675968505000,\n                    \"passcode\": 1231,\n                    \"rto_passcode\": 3241\n                }\n            },\n            {\n                \"type\": \"DROP\",\n                \"address\": {\n                    \"name\": \"Abhinav Paul\",\n                    \"outletName\": \"Abhinav Paul\",\n                    \"city\": \"Kolkata\",\n                    \"location\": {\n                        \"latitude\": 22.537395106618785,\n                        \"longitude\": 88.35197199136019\n                    },\n                    \"voiceDirectionsURI\": \"test.uri.com\",\n                    \"directions\": \"Opposite forum mall\",\n                    \"address\": \"41 Gin road  , Kamal apartment flat 300 Kolkata 700020,Elign Rd, Bhowanipore, Kolkata, West Bengal 700020, India. (Kamal Apartment)\"\n                },\n                \"collect\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],                \n                \"instructions\":[\"Leave at the Door\", \"Don't ring bell\"],\n                \"metadata\": {\n                    \"predictedDistanceInMetre\": 2400,\n                    \"passcode\": 1231\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"shipperOrderId\": \"1162149899\"\n}"},{"id":"a840de15-8db6-48d4-88bc-4d9b14e627e0","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serviceabilityRequestId\": \"{{requestId}}\",\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentDetails\": {\n        \"shipmentValue\": {\n            \"value\": 331,\n            \"unit\": \"INR\"\n        },\n        \"shipmentType\": \"FOOD\",        \n        \"tasks\": [\n            {\n                \"type\": \"PICK_UP\",\n                \"address\": {\n                    \"name\": \"The Good Bowl\",\n                    \"outletName\": \"The Good Bowl\",\n                    \"city\": \"Kolkata\",\n                    \"contact\": 8828100666,\n                    \"directions\": \"Opposite forum mall\",\n                    \"location\": {\n                        \"latitude\": 22.530242,\n                        \"longitude\": 88.36866800000007\n                    },\n                    \"address\": \"29 Old Ballygune, First Lane, Kolkata 700019\"\n                },\n                \"pay\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],\n                \"instructions\":[\"Entry at the back door\"],            \n                \"metadata\": {\n                    \"predictedShipmentReadyTimeInEpoch\": 1675968505000,\n                    \"passcode\": 1231,\n                    \"rto_passcode\": 3241\n                }\n            },\n            {\n                \"type\": \"DROP\",\n                \"address\": {\n                    \"name\": \"Abhinav Paul\",\n                    \"outletName\": \"Abhinav Paul\",\n                    \"city\": \"Kolkata\",\n                    \"location\": {\n                        \"latitude\": 22.537395106618785,\n                        \"longitude\": 88.35197199136019\n                    },\n                    \"voiceDirectionsURI\": \"test.uri.com\",\n                    \"directions\": \"Opposite forum mall\",\n                    \"address\": \"41 Gin road  , Kamal apartment flat 300 Kolkata 700020,Elign Rd, Bhowanipore, Kolkata, West Bengal 700020, India. (Kamal Apartment)\"\n                },\n                \"collect\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],                \n                \"instructions\":[\"Leave at the Door\", \"Don't ring bell\"],\n                \"metadata\": {\n                    \"predictedDistanceInMetre\": 2400,\n                    \"passcode\": 1231\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"HPL_CHKSER_300\",\n    \"message\": \"Implementation not found.\",\n    \"referenceId\": \"dd0a1b47-4195-4fb4-a5d8-ca73c10e1a8c\"\n}"}],"_postman_id":"6589c49a-8837-4133-9a5a-c6ba876e4607"},{"name":"Order Cancel","event":[{"listen":"prerequest","script":{"id":"3a2903cc-8bab-4812-a2d0-e704472bee12","exec":[""],"type":"text/javascript"}}],"id":"36dcb542-42df-48c4-8b9b-c735274a23d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"cancellationReason\": \"Items out of stock\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/{{orderId}}/cancel","description":"<h4 id=\"you-can-use-this-in-order-to-trigger-a-cancellation-for-any-active-order\">You can use this in order to trigger a cancellation for any active order.</h4>\n<p><strong>NOTE:</strong></p>\n<ul>\n<li>Once the status is updated as ASSIGNED to a rider, the order is considered to be <strong>active</strong>.</li>\n<li>Once the status is updated as DELIVERED, the order is considered to be <strong>inactive</strong>.</li>\n</ul>\n<h4 id=\"more-details-about-order-cancellation-can-be-seen-here-click-me\"><a href=\"https://whimsical.com/lsn-hyperlocal-statusupdates-flows-UKbo5UqQM8yEgb9e24AqJf\">More details about order cancellation can be seen here (Click me!)</a></h4>\n<h4 id=\"request-fields\">Request Fields:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Datatype</strong></th>\n<th><strong>Notes</strong></th>\n<th><strong>Sample Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cancellationReason</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />Reason for cancellation</td>\n<td>\"Items out of stock\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields:</h4>\n<p>200 OK</p>\n<p>Non 200 in case of errors</p>\n","urlObject":{"path":["hyperlocal","v2","order","{{orderId}}","cancel"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"1f4e1f4c-28f9-4815-9803-c4110d12e7f3","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"cancellationReason\": \"Items out of stock\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/{{orderId}}/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"5cd25341-45aa-493e-a787-666a89500927","name":"Error","originalRequest":{"method":"PUT","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"cancellationReason\": \"Items out of stock\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/{{orderId}}/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"HPL_CHKCMN_304\",\n    \"message\": \"Invalid checksum.\",\n    \"referenceId\": \"03a21c59-feb0-4e1f-b346-f0c1bb2c9681\"\n}"}],"_postman_id":"36dcb542-42df-48c4-8b9b-c735274a23d8"},{"name":"Order Location Tracking","event":[{"listen":"prerequest","script":{"id":"3a2903cc-8bab-4812-a2d0-e704472bee12","exec":[""],"type":"text/javascript"}}],"id":"9f70b627-d0ad-4253-a502-076258e564fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"url":"{{endpoint}}/hyperlocal/v2/order/{{orderID}}/track","description":"<h4 id=\"this-api-returns-the-latest-available-location-of-a-single-active-order-being-currently-serviced-by-a-delivery-agent-via-the-loadshare-platform\">This API returns the latest available location of a single active order being currently serviced by a Delivery Agent via the Loadshare platform</h4>\n<p><strong>NOTE:</strong></p>\n<ul>\n<li>Once the status is updated as ASSIGNED to a rider, the order is considered to be <strong>active</strong>.</li>\n<li>Once the status is updated as DELIVERED, the order is considered to be <strong>inactive</strong>.</li>\n</ul>\n<h4 id=\"more-details-about-order-location-tracking-can-be-seen-here-click-me\"><a href>More details about order location tracking can be seen here (Click me!)</a></h4>\n<h4 id=\"request-fields-none\">Request Fields: None</h4>\n<h4 id=\"response-fields\">Response Fields:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Datatype</strong></th>\n<th><strong>Notes</strong></th>\n<th><strong>Sample Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />Must be unique for each new order creation.</td>\n<td>\"79820134246\"</td>\n</tr>\n<tr>\n<td>shipmentStatus</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />enum  <br />Refer shipmentStatus table in Order Status Update API for expected values</td>\n<td>\"ARRIVED\"</td>\n</tr>\n<tr>\n<td>deDetails.name</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />Name of the Delivery Agent</td>\n<td>\"Ashok Kumar\"</td>\n</tr>\n<tr>\n<td>deDetails.contact</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />Phone Number of the Delivery Agent</td>\n<td>\"9999999999\"</td>\n</tr>\n<tr>\n<td>deDetails.location.latitude</td>\n<td><code>Decimal</code></td>\n<td><strong>Mandatory</strong></td>\n<td>12.992673</td>\n</tr>\n<tr>\n<td>deDetails.location.longitude</td>\n<td><code>Decimal</code></td>\n<td><strong>Mandatory</strong></td>\n<td>77.535849</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hyperlocal","v2","order","{{orderID}}","track"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"5ecf26d8-f951-4fbf-854d-4963e9785665","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"url":"{{endpoint}}/hyperlocal/v2/order/{{orderID}}/track"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"orderId\": \"1673356551479541355\",\n    \"deDetails\": {\n        \"id\": \"116656\",\n        \"name\": \"Anil kumar\",\n        \"contact\": \"123456789\",\n        \"location\": {\n            \"latitude\": 28.6765383,\n            \"longitude\": 77.181115\n        }\n    },\n    \"metadata\": {\n        \"shipmentImageUrl\": \"https://earn-de-docs.s3.ap-south-1.amazonaws.com/f308bc22-727f-4fca-948d-b3e1149a3ee4.JPEG\",\n    },\n    \"waybillNumber\": \"1673356551479541355\",\n    \"shipperOrderId\": \"86891440\",\n    \"shipmentStatus\": \"DELIVERED\"\n}"}],"_postman_id":"9f70b627-d0ad-4253-a502-076258e564fc"},{"name":"Order Edit API","event":[{"listen":"prerequest","script":{"id":"3a2903cc-8bab-4812-a2d0-e704472bee12","exec":["var CryptoJS = require(\"crypto-js\");","","//Staging","var customerCode = pm.globals.get(\"customer-code\");  ","var token = pm.globals.get(\"token\");","","var genearteRandomOrderId = () =>{","    var min = 1111111111;","    var max = 5555555555;","","    min = Math.ceil(min);","    max = Math.floor(max);","    return `Test-${Math.floor(Math.random() * (max - min + 1)) + min}`;","}","","var orderId = genearteRandomOrderId();","console.log(orderId);","","var checkSum = CryptoJS.SHA256(`${token}|${customerCode}|${orderId}`).toString();","","console.log(checkSum);","","pm.environment.set(\"checksum\", checkSum);","pm.environment.set(\"requestID\", orderId);"],"type":"text/javascript"}}],"id":"5fa11eac-6d38-4003-9f2a-9da64fb35155","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serviceabilityRequestId\": \"{{requestID}}\",\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentDetails\": {\n        \"shipmentValue\": {\n            \"value\": 331,\n            \"unit\": \"INR\"\n        },\n        \"shipmentType\": \"FOOD\",\n        \"metadata\": {\n            \"deAdditionalEarnings\": [\n                {\n                    \"type\": \"RAIN_SURGE\"\n                }\n            ]\n        },        \n        \"tasks\": [\n            {\n                \"type\": \"PICK_UP\",\n                \"address\": {\n                    \"name\": \"The Good Bowl\",\n                    \"outletName\": \"The Good Bowl\",\n                    \"city\": \"Kolkata\",\n                    \"contact\": 8828100666,\n                    \"directions\": \"Opposite forum mall\",\n                    \"location\": {\n                        \"latitude\": 22.530242,\n                        \"longitude\": 88.36866800000007\n                    },\n                    \"address\": \"29 Old Ballygune, First Lane, Kolkata 700019\"\n                },\n                \"pay\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],\n                \"instructions\":[\"Leave at the Door\", \"Don't ring bell\"],\n                \"metadata\": {\n                    \"predictedShipmentReadyTimeInEpoch\": 1675968911000,\n                    \"shipmentReadyTimeInEpoch\": 1675967828000\n                }\n            },\n            {\n                \"type\": \"DROP\",\n                \"address\": {\n                    \"name\": \"Abhinav Paul\",\n                    \"outletName\": \"Abhinav Paul\",\n                    \"city\": \"Kolkata\",\n                    \"location\": {\n                        \"latitude\": 22.537395106618785,\n                        \"longitude\": 88.35197199136019\n                    },\n                    \"voiceDirectionsURI\": \"test.uri.com\",\n                    \"directions\": \"Opposite forum mall\",\n                    \"address\": \"41 Elgin road  , Neelkamal apartment flat 3A Kolkata 700020,Elign Rd, Bhowanipore, Kolkata, West Bengal 700020, India. (Neelkamal Apartment)\"                    \n                },\n                \"collect\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],                \n                \"instructions\":[\"Leave at the Door\", \"Don't ring bell\"],\n                \"metadata\": {\n                    \"predictedDistanceInMetre\": 2400\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/edit","description":"<h4 id=\"this-is-the-api-call-used-to-create-an-order-in-our-system-please-call-this-api-immediately-after-getting-a-true-response-from-the-serviceability-check-api\">This is the API call used to create an order in our system. Please call this API immediately after getting a true response from the Serviceability Check API</h4>\n<h4 id=\"more-details-about-order-creation-can-be-seen-here-click-me\"><a href=\"https://whimsical.com/lsn-hyperlocal-serviceability-ordercreation-flows-32nJwf7bYRuchE2V7XycUg\">More details about order creation can be seen here (Click me!)</a></h4>\n","urlObject":{"path":["hyperlocal","v2","order","edit"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"e27529e3-9a0e-42d6-b286-42013128b804","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"serviceabilityRequestId\": \"{{requestID}}\",\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentDetails\": {\n        \"shipmentValue\": {\n            \"value\": 331,\n            \"unit\": \"INR\"\n        },\n        \"shipmentType\": \"FOOD\",\n        \"metadata\": {\n            \"deAdditionalEarnings\": [\n                {\n                    \"type\": \"RAIN_SURGE\"\n                }\n            ]\n        },        \n        \"tasks\": [\n            {\n                \"type\": \"PICK_UP\",\n                \"address\": {\n                    \"name\": \"The Good Bowl\",\n                    \"outletName\": \"The Good Bowl\",\n                    \"city\": \"Kolkata\",\n                    \"contact\": 8828100666,\n                    \"directions\": \"Opposite forum mall\",\n                    \"location\": {\n                        \"latitude\": 22.530242,\n                        \"longitude\": 88.36866800000007\n                    },\n                    \"address\": \"29 Old Ballygune, First Lane, Kolkata 700019\"\n                },\n                \"pay\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],\n                \"instructions\":[\"Leave at the Door\", \"Don't ring bell\"],\n                \"metadata\": {\n                    \"predictedShipmentReadyTimeInEpoch\": 1675968911000,\n                    \"shipmentReadyTimeInEpoch\": 1675967828000\n                }\n            },\n            {\n                \"type\": \"DROP\",\n                \"address\": {\n                    \"name\": \"Abhinav Paul\",\n                    \"outletName\": \"Abhinav Paul\",\n                    \"city\": \"Kolkata\",\n                    \"location\": {\n                        \"latitude\": 22.537395106618785,\n                        \"longitude\": 88.35197199136019\n                    },\n                    \"voiceDirectionsURI\": \"test.uri.com\",\n                    \"directions\": \"Opposite forum mall\",\n                    \"address\": \"41 Elgin road  , Neelkamal apartment flat 3A Kolkata 700020,Elign Rd, Bhowanipore, Kolkata, West Bengal 700020, India. (Neelkamal Apartment)\"                    \n                },\n                \"collect\": {\n                    \"value\": 0,\n                    \"unit\": \"INR\"\n                },\n                \"items\": [\n                    {\n                        \"id\": \"43407328\",\n                        \"name\": \"Good ol Butter Chicken Rice Bowl\",\n                        \"quantity\": 1,\n                        \"price\": {\n                            \"value\": 299,\n                            \"unit\": \"INR\"\n                        }\n                    }\n                ],                \n                \"instructions\":[\"Leave at the Door\", \"Don't ring bell\"],\n                \"metadata\": {\n                    \"predictedDistanceInMetre\": 2400\n                }\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"shipperOrderId\": \"1162149899\"\n}"}],"_postman_id":"5fa11eac-6d38-4003-9f2a-9da64fb35155"},{"name":"Order Status WebHook","id":"38082a62-b785-44c5-91ce-626b29fdf47f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{client-api-key}}","type":"text"},{"key":"shipper-id","value":"Loadshare","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"1675054650696504003\",\n    \"deDetails\": {\n        \"id\": \"164302\",\n        \"name\": \"Test User\",\n        \"contact\": \"999999999\",\n        \"location\": {\n            \"latitude\": 28.4674754,\n            \"longitude\": 77.0815287\n        }\n    },\n    \"etaInEpoch\": null,\n    \"metadata\": {\n        \"shipmentImageUrl\": \"https://earn-de-docs.s3.ap-south-1.amazonaws.com/6087c97e-ceaa-4433-af62-2140c1cc9198.JPEG\",\n        \"otpUsed\": null\n    },\n    \"waybillNumber\": \"1675054650696504003\",\n    \"locationRecordedAt\": null,\n    \"trackUrl\": null,\n    \"shipperOrderId\": \"87331880\",\n    \"shipmentStatus\": \"DELIVERED\"\n}","options":{"raw":{"language":"json"}}},"url":"{{clientEndpoint}}/{{orderId}}/status/update","description":"<h4 id=\"these-are-real-time-updates-about-the-status-of-the-order-this-is-sent-by-loadshare-to-your-system-via-a-webhook-you-will-need-to-provide-a-webhook-endpoint-to-us-in-order-to-get-these-updates\">These are real-time updates about the status of the order. This is sent by Loadshare to your system via a webhook. You will need to provide a webhook endpoint to us in order to get these updates.</h4>\n<h4 id=\"more-details-about-order-status-updates-can-be-seen-here-click-me\"><a href=\"https://whimsical.com/lsn-hyperlocal-statusupdates-flows-UKbo5UqQM8yEgb9e24AqJf\">More details about order status updates can be seen here (Click me!)</a></h4>\n<h4 id=\"definition-of-each-shipment-status\">Definition of each Shipment Status</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Event Type</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ASSIGNED</td>\n<td>The order has been allocated &amp; accepted by  <br />a delivery agent</td>\n</tr>\n<tr>\n<td>ARRIVED</td>\n<td>The FE has arrived at the pickup location.  <br />They are waiting to receive the items from the restaurant/store.</td>\n</tr>\n<tr>\n<td>PICKED_UP</td>\n<td>The order has been successfully picked up by  <br />the delivery agent. They are currently en-route to the delivery location.</td>\n</tr>\n<tr>\n<td>REACHED</td>\n<td>The delivery agent has reached the delivery location &amp; has parked their vehicle. They will proceed to handover items to the end customer.</td>\n</tr>\n<tr>\n<td>DELIVERED</td>\n<td>The order has been successfully delivered to  <br />the end customer.</td>\n</tr>\n<tr>\n<td>UNDELIVERED</td>\n<td>The order could not be delivered to  <br />the end customer for some reason</td>\n</tr>\n<tr>\n<td>RTO_INITIATED</td>\n<td>The order has been marked as RTO &amp; the delivery agent is out to return the order</td>\n</tr>\n<tr>\n<td>RTO_DELIVERED</td>\n<td>The order has been successfully delivered to the original pickup location</td>\n</tr>\n<tr>\n<td>REJECTED</td>\n<td>The order has been internally cancelled by LSN due to the driver not being able to deliver the order.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{orderId}}","status","update"],"host":["{{clientEndpoint}}"],"query":[],"variable":[]}},"response":[{"id":"e429f34b-e9aa-4ba6-91b8-36c040b09395","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{client-api-key}}","type":"text"},{"key":"shipper-id","value":"Loadshare","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"1675054650696504003\",\n    \"deDetails\": {\n        \"id\": \"164302\",\n        \"name\": \"Test User\",\n        \"contact\": \"999999999\",\n        \"location\": {\n            \"latitude\": 28.4674754,\n            \"longitude\": 77.0815287\n        }\n    },\n    \"etaInEpoch\": null,\n    \"metadata\": {\n        \"shipmentImageUrl\": \"https://earn-de-docs.s3.ap-south-1.amazonaws.com/6087c97e-ceaa-4433-af62-2140c1cc9198.JPEG\",\n        \"otpUsed\": null\n    },\n    \"waybillNumber\": \"1675054650696504003\",\n    \"locationRecordedAt\": null,\n    \"trackUrl\": null,\n    \"shipperOrderId\": \"87331880\",\n    \"shipmentStatus\": \"DELIVERED\"\n}","options":{"raw":{"language":"json"}}},"url":"{{clientEndpoint}}/{{orderId}}/status/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"38082a62-b785-44c5-91ce-626b29fdf47f"},{"name":"Delivery Issue Escalation","event":[{"listen":"prerequest","script":{"id":"3a2903cc-8bab-4812-a2d0-e704472bee12","exec":[""],"type":"text/javascript"}}],"id":"0e6a19da-68b9-4bd2-9819-9d8a4611c719","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"issueCode\": \"MARKED_DELIVERED_INCORRECTLY\",\n    \"issueType\": \"FOOD_ISSUES\",\n    \"metadata\": {\n        \"gratification\": true\n    },\n    \"comments\": \"Delivery incomplete\",\n    \"initiator\": \"CUSTOMER\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/{{orderId}}/issue","description":"<h4 id=\"the-worst-possible-scenario-is-for-the-end-customer-not-to-get-their-orders-we-do-our-best-attempts-to-limit-any-negative-experiences-however-we-do-observe-some-minor-slippages\">The worst possible scenario is for the end customer not to get their orders. We do our best attempts to limit any negative experiences, however we do observe some minor slippages</h4>\n<ul>\n<li>Details sent via this API are captured in real time.</li>\n<li>This flag is used to immediately limit the delivery agent associated with the impacted order.</li>\n<li>Internal teams are also alerted to review the details of this case</li>\n</ul>\n<h4 id=\"more-details-about-delivery-issue-escalation-can-be-seen-here-click-me\"><a href=\"https://whimsical.com/lsn-hyperlocal-delivery-issues-api-8uCLB3kLHbeY5grdKsXyZe\">More details about delivery issue escalation can be seen here (Click me!)</a></h4>\n<h4 id=\"request-fields\">Request Fields:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Datatype</strong></th>\n<th><strong>Notes</strong></th>\n<th><strong>Sample Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>issueCode</td>\n<td><code>String</code> [M]  <br />Expected: [\"MARKED_DELIVERED_INCORRECTLY\"]</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>issueType</td>\n<td><code>String</code> [M]  <br />Expected: [ \"FOOD_ISSUES\", \"DELIVERY_ISSUES\", \"PAYMENT_ISSUES\", \"CANCELLATION_ISSUES\", \"OTHER\" ]</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>metadata.gratification</td>\n<td><code>Bool</code> [O]</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>comments</td>\n<td><code>String</code> [O]</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>initiator</td>\n<td><code>String</code> [M]  <br />Expected: [ \"RIDER\", \"MERCHANT\", \"CUSTOMER\", \"RESTAURANT \"]</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields:</h4>\n<p>200 OK</p>\n","urlObject":{"path":["hyperlocal","v2","order","{{orderId}}","issue"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"9a5ced3a-7bf7-4a7e-9764-e9b60bc3af73","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"issueCode\": \"MARKED_DELIVERED_INCORRECTLY\",\n    \"issueType\": \"FOOD_ISSUES\",\n    \"metadata\": {\n        \"gratification\": true\n    },\n    \"comments\": \"Delivery incomplete\",\n    \"initiator\": \"CUSTOMER\"\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/{{orderId}}/issue"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0e6a19da-68b9-4bd2-9819-9d8a4611c719"}],"id":"b308f7f8-aa62-438e-b960-15c274494320","description":"<p>There are 4 APIs that form the core system. All of these are required in order to accept, process &amp; fulfill any delivery.</p>\n<ul>\n<li><strong>Serviceability Check:</strong> You can use this to check if the Loadshare system is capable of fulfilling the order. This is always the first API call to be made in the order flow.</li>\n<li><strong>Order Creation:</strong> You must use this to create the booking in our system. This API has to be called after only after getting a true response in the serviceability check API.</li>\n<li><strong>Order Status Updates:</strong> These are real-time updates about the status of the order. This is sent by Loadshare to your system via a webhook. You will need to provide a webhook endpoint to us in order to get these updates.</li>\n<li><strong>Order Cancellation:</strong> You can use this in order to trigger a cancellation for any active order.</li>\n</ul>\n<p><strong>NOTE:</strong></p>\n<ul>\n<li>Once the status is updated as ASSIGNED to a rider, the order is considered to be <strong>active</strong>.</li>\n<li>Once the status is updated as DELIVERED, the order is considered to be <strong>inactive</strong>.</li>\n</ul>\n","_postman_id":"b308f7f8-aa62-438e-b960-15c274494320"},{"name":"Additional Features","item":[{"name":"Status Check API","event":[{"listen":"prerequest","script":{"id":"c1cf2594-278a-483e-8050-975d4e0f64c7","exec":["var CryptoJS = require(\"crypto-js\");","","//Staging","var customerCode = pm.globals.get(\"customer-code\");  ","var token = pm.globals.get(\"token\");","","var genearteRandomOrderId = () =>{","    var min = 1111111111;","    var max = 5555555555;","","    min = Math.ceil(min);","    max = Math.floor(max);","    return `Test-${Math.floor(Math.random() * (max - min + 1)) + min}`;","}","","var orderId = genearteRandomOrderId();","console.log(orderId);","","var checkSum = CryptoJS.SHA256(`${token}|${customerCode}|${orderId}`).toString();","","console.log(checkSum);","","pm.environment.set(\"checksum\", checkSum);","pm.environment.set(\"requestID\", orderId);",""],"type":"text/javascript"}}],"id":"ab508f31-1f2a-4712-bc29-6be2cf52d591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentValue\": {\n        \"value\": 0,\n        \"unit\": \"INR\"\n    },\n    \"shipmentType\": \"FOOD\",\n    \"tasks\": [\n        {\n            \"type\": \"PICK_UP\",\n            \"capabilitiesRequired\": [\n                \"NONE\"\n            ],\n            \"address\": {\n                \"outletName\": \"abc\",\n                \"address\": \"mera ghar\"\n            },\n            \"location\": {\n                \"latitude\": \"12.95848503626953\",\n                \"longitude\": \"79.94878298962752\"\n            },\n            \"items\": [\n                {\n                    \"id\": \"sample123\",\n                    \"name\": \"sample\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 250,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ]\n        },\n        {\n            \"type\": \"DROP\",\n            \"capabilitiesRequired\": [\n                \"NONE\"\n            ],\n            \"location\": {\n                \"latitude\": \"12.95848503626953\",\n                \"longitude\": \"79.94878298962752\"\n            },\n            \"collect\": {\n                \"value\": 250,\n                \"unit\": \"INR\"\n            },\n            \"items\": [\n                {\n                    \"id\": \"sample123\",\n                    \"name\": \"sample\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 250,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"promisedSlaInEpoch\": {\n        \"assignment\": 0,\n        \"total\": 0\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/validateServiceability","description":"<h4 id=\"please-run-this-if-you-want-to-check-if-a-particular-pickup-drop-location-pair-can-be-serviced-without-actually-placing-an-order\">Please run this if you want to check if a particular pickup-drop location pair can be serviced without actually placing an order.</h4>\n<p><strong>NOTE:</strong> This API can be called multiple times.</p>\n<p>However, in order to trigger an actual booking, you will need to call the Serviceability Check API, get a true response &amp; then create an order.</p>\n<p><strong>A true status check does not guarantee a true serviceability check.</strong></p>\n<h4 id=\"more-details-about-status-check-can-be-seen-here-click-me\"><a href=\"https://whimsical.com/lsn-hyperlocal-status-check-api-Y7JKTdVLTu543TQ1MeGHwL\">More details about status check can be seen here (Click me!)</a></h4>\n<h4 id=\"request-fields\">Request Fields:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Datatype</strong></th>\n<th><strong>Notes</strong></th>\n<th><strong>Sample Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />This is usually the order tracking ID</td>\n<td>\"79820134246\"</td>\n</tr>\n<tr>\n<td>shipmentType</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />enum: <code>FOOD</code></td>\n<td>\"FOOD\"</td>\n</tr>\n<tr>\n<td>tasks[].type</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />enum: <code>PICK_UP</code> <code>DROP</code></td>\n<td>\"PICK_UP\"</td>\n</tr>\n<tr>\n<td>tasks[].capabilitiesRequired</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br /><code>CONTACTLESS</code> <code>DE_INSTRUCTIONS OTP NONE</code></td>\n<td>\"NONE\"</td>\n</tr>\n<tr>\n<td>tasks[].address.outletName</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong></td>\n<td>\"Taco Bell, Koramangala\"</td>\n</tr>\n<tr>\n<td>tasks[].address.address</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong></td>\n<td>\"Sony World Junction, 36, 100 Feet Rd, Venkappa Garden, Koramangala, Bengaluru, Karnataka 560095\"</td>\n</tr>\n<tr>\n<td>tasks[].address.contact</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong></td>\n<td>\"5566778899\"</td>\n</tr>\n<tr>\n<td>tasks[].location.latitude</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br /></td>\n<td>\"12.95848503626953\"</td>\n</tr>\n<tr>\n<td>tasks[].location.longitude</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br /></td>\n<td>\"79.94878298962752\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Datatype</strong></th>\n<th><strong>Notes</strong></th>\n<th><strong>Sample Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>isServiceable</td>\n<td><code>Boolean</code></td>\n<td><strong>Mandatory</strong></td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>lmDistance  <br />  <br /></td>\n<td><code>Double</code>  <br /></td>\n<td><em>Optional</em>  <br />This is the on-road last mile distance calculated as per our system</td>\n<td>50.0</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hyperlocal","v2","order","validateServiceability"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[{"id":"055891b2-d86b-4027-822a-95bc8462c4ec","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Checksum","value":"{{checksum}}","type":"text"},{"key":"Customer-Code","value":"{{customer-code}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"{{orderId}}\",\n    \"shipmentValue\": {\n        \"value\": 0,\n        \"unit\": \"INR\"\n    },\n    \"shipmentType\": \"FOOD\",\n    \"tasks\": [\n        {\n            \"type\": \"PICK_UP\",\n            \"capabilitiesRequired\": [\n                \"NONE\"\n            ],\n            \"address\": {\n                \"outletName\": \"abc\",\n                \"address\": \"mera ghar\"\n            },\n            \"location\": {\n                \"latitude\": \"12.95848503626953\",\n                \"longitude\": \"79.94878298962752\"\n            },\n            \"items\": [\n                {\n                    \"id\": \"sample123\",\n                    \"name\": \"sample\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 250,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ]\n        },\n        {\n            \"type\": \"DROP\",\n            \"capabilitiesRequired\": [\n                \"NONE\"\n            ],\n            \"location\": {\n                \"latitude\": \"12.95848503626953\",\n                \"longitude\": \"79.94878298962752\"\n            },\n            \"collect\": {\n                \"value\": 250,\n                \"unit\": \"INR\"\n            },\n            \"items\": [\n                {\n                    \"id\": \"sample123\",\n                    \"name\": \"sample\",\n                    \"quantity\": 1,\n                    \"price\": {\n                        \"value\": 250,\n                        \"unit\": \"INR\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"promisedSlaInEpoch\": {\n        \"assignment\": 0,\n        \"total\": 0\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/hyperlocal/v2/order/validateServiceability"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"isServiceable\": true\n}"}],"_postman_id":"ab508f31-1f2a-4712-bc29-6be2cf52d591"},{"name":"Bulk Order Location Updates","id":"7532bcef-3402-41af-91ed-c2736374d699","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{client-api-key}}","type":"text"},{"key":"shipper-id","value":"Loadshare","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"deLocationUpdateRequests\": [\n    {\n      \"orderId\": \"test-135264737473\",\n      \"location\": {\n        \"latitude\": 26.1608357,\n        \"longitude\": 91.7773208\n      },\n      \"accuracyInMeters\": 3.8,\n      \"capturedTimeInEpoch\": 1652191395000,\n      \"deDetails\": {\n        \"name\": \"PHELAN DAS\",\n        \"contact\": \"9999999999\"\n      }\n    },\n    {\n      \"orderId\": \"135264660784\",\n      \"location\": {\n        \"latitude\": 12.9115106,\n        \"longitude\": 77.6464898\n      },\n      \"accuracyInMeters\": 3.8,\n      \"capturedTimeInEpoch\": 2139877720000,\n      \"deDetails\": {\n        \"name\": \"Inyath khan\",\n        \"contact\": \"9999999999\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{clientEndpoint}}/shipment/delocation/bulkUpdate","description":"<h4 id=\"this-api-sends-the-latest-available-location-of-all-active-orders-that-have-been-placed-by-you\">This API sends the latest available location of all active orders that have been placed by you.</h4>\n<p>This is sent by Loadshare to your system via a webhook. You will need to provide a webhook endpoint to us in order to get these updates.</p>\n<p><strong>NOTE:</strong></p>\n<ul>\n<li>Once the status is updated as ASSIGNED to a rider, the order is considered to be <strong>active</strong>.</li>\n<li>Once the status is updated as DELIVERED, the order is considered to be <strong>inactive</strong>.</li>\n</ul>\n<h4 id=\"more-details-about-bulk-order-location-tracking-can-be-seen-here-click-me\"><a href=\"https://whimsical.com/lsn-hyperlocal-locationupdate-flows-XGQrceGmHg5Dd4WLu4m8CQ\">More details about bulk order location tracking can be seen here (Click me!)</a></h4>\n<h4 id=\"request-fields\">Request Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Datatype</strong></th>\n<th><strong>Notes</strong></th>\n<th><strong>Sample Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>deLocationUpdateRequests[].orderId</td>\n<td><code>String</code></td>\n<td><strong>Mandatory</strong>  <br />Must be unique for each new order creation.</td>\n<td>\"79820134246\"</td>\n</tr>\n<tr>\n<td>deLocationUpdateRequests[].accuracyInMeters</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>deLocationUpdateRequests[].capturedTimeInEpoch</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>deLocationUpdateRequests[].location.latitude</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>deLocationUpdateRequests[].location.longitude</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>deLocationUpdateRequests[].deDetails.name</td>\n<td><code>String</code></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>deLocationUpdateRequests[].deDetails.contact</td>\n<td><code>String</code></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response:</h4>\n<p><strong>200 OK</strong></p>\n","urlObject":{"path":["shipment","delocation","bulkUpdate"],"host":["{{clientEndpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7532bcef-3402-41af-91ed-c2736374d699"},{"name":"Call Client Customer Support","id":"a20c5683-06ab-46f1-8a51-afa5ae166f66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{client-api-key}}","type":"text"},{"key":"shipper-id","value":"Loadshare","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"135266456315\",\n    \"name\": \"Ranjeeth _Amaraexpress\",\n    \"contact\": \"9999999999\"\n}","options":{"raw":{"language":"json"}}},"url":"{{clientEndpoint}}/shipment/{{shipmentId}}/deAssistance/callDE","description":"<p>This API should trigger a phone call to the delivery executive from the client's customer support team.</p>\n<p>Request Fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><code>String</code> Client Order Id</td>\n</tr>\n<tr>\n<td>name</td>\n<td><code>String</code> Name of DE</td>\n</tr>\n<tr>\n<td>contact</td>\n<td><code>String</code> Contact number of DE</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response Fields : 200 OK</p>\n","urlObject":{"path":["shipment","{{shipmentId}}","deAssistance","callDE"],"host":["{{clientEndpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a20c5683-06ab-46f1-8a51-afa5ae166f66"},{"name":"triggerOTP","id":"5b448e7e-0e10-4fb1-a07b-87d9eb5682e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{client-api-key}}","type":"text"},{"key":"shipper-id","value":"Loadshare","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"TESTORDER-12345\"\n}","options":{"raw":{"language":"json"}}},"url":"{{clientEndpoint}}/{{shipmentId}}/otp/trigger","description":"<p>Generates OTP for the given orderId.</p>\n<p>Request Fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td>Client OrderId for which the OTP should be generated</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response Fields :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{shipmentId}}","otp","trigger"],"host":["{{clientEndpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b448e7e-0e10-4fb1-a07b-87d9eb5682e8"},{"name":"verifyOTP","id":"fa8cb32b-2afd-4331-bdf1-b5b4036298df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{client-api-key}}","type":"text"},{"key":"shipper-id","value":"Loadshare","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"orderId\": \"TESTORDER-12345\",\n    \"otp\": \"1234\"\n}","options":{"raw":{"language":"json"}}},"url":"{{clientEndpoint}}/{{shipmentId}}/otp/verify","description":"<p>Validates OTP for the given orderId and a OTP entered by the field executive.</p>\n<p>Request Fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td><code>String</code> Client OrderId for which the OTP should be generated [M]</td>\n</tr>\n<tr>\n<td>otp</td>\n<td><code>String</code> [M]</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response Fields :</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td><code>String</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{shipmentId}}","otp","verify"],"host":["{{clientEndpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa8cb32b-2afd-4331-bdf1-b5b4036298df"},{"name":"Call End Customer","id":"396286fc-c3b8-44c8-a1fb-add86681e04e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{client-api-key}}","type":"text"},{"key":"shipper-id","value":"Loadshare","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"135266456315\",\n    \"name\": \"Ranjeeth _Amaraexpress\",\n    \"contact\": \"9999999999\"\n}","options":{"raw":{"language":"json"}}},"url":"{{clientEndpoint}}/shipment/{{shipmentId}}/deAssistance/callCustomer","description":"<p>NEGOTIABLE**</p>\n<p>This API should trigger a phone call to the delivery executive from the end customer to whom the DE is trying to deliver the order.</p>\n<p>Request Fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td><code>String</code> Client Order Id</td>\n</tr>\n<tr>\n<td>name</td>\n<td><code>String</code> Name of DE</td>\n</tr>\n<tr>\n<td>contact</td>\n<td><code>String</code> Contact number of DE</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response Fields : 200 OK</p>\n","urlObject":{"path":["shipment","{{shipmentId}}","deAssistance","callCustomer"],"host":["{{clientEndpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"396286fc-c3b8-44c8-a1fb-add86681e04e"}],"id":"75c48f50-649e-4e6f-83cc-8d1f706257e6","description":"<p>These items are optional, but they help improve the overall delivery experience.</p>\n<p>The current list of additional features includes:</p>\n<ul>\n<li><strong>Status Check:</strong></li>\n<li><strong>Order Location Tracking:</strong></li>\n<li><strong>Bulk Order Location Updates:</strong></li>\n<li><strong>Delivery Issue Escalation:</strong></li>\n</ul>\n","_postman_id":"75c48f50-649e-4e6f-83cc-8d1f706257e6"}]}