{"_id":"582c7058e4a4920f00ff0053","user":"579a0643ebcc7419003c0db4","__v":0,"githubsync":"","version":{"_id":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","__v":2,"createdAt":"2016-11-16T14:42:32.468Z","releaseDate":"2016-11-16T14:42:32.468Z","categories":["582c7058e4a4920f00ff0046","582c7058e4a4920f00ff0047","582c7058e4a4920f00ff0048","582c7058e4a4920f00ff0049","582c7058e4a4920f00ff004a","582c7058e4a4920f00ff004b","582c7058e4a4920f00ff004c","582c7058e4a4920f00ff004d","582c7058e4a4920f00ff004e","582c7058e4a4920f00ff004f","582d97124b2536250038b392"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"category":{"_id":"582c7058e4a4920f00ff0047","version":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-28T14:07:04.954Z","from_sync":false,"order":2,"slug":"orderconnect","title":"EPOS partners"},"parentDoc":null,"project":"56c1e50bce02590d006091c9","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-08-11T14:29:48.776Z","link_external":false,"link_url":"","sync_unique":"","hidden":true,"api":{"settings":"","results":{"codes":[]},"examples":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"REQUEST:\n\nGiven a pickup location, and drop off location JustEat is able to return the time that it would take to deliver the food. \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"GET /deliveries/estimate?fromLat=x&fromLong=y&toLat=x&toLong=y&pickUpTime=2002-10-10T12:00:00−05:00\",\n      \"language\": \"http\"\n    }\n  ]\n}\n[/block]\nRESPONSE:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"DurationInMinutes\\\": 20\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": []\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"get-delivery-estimate","type":"basic","title":"Get Delivery Estimate"}

Get Delivery Estimate


REQUEST: Given a pickup location, and drop off location JustEat is able to return the time that it would take to deliver the food. [block:code] { "codes": [ { "code": "GET /deliveries/estimate?fromLat=x&fromLong=y&toLat=x&toLong=y&pickUpTime=2002-10-10T12:00:00−05:00", "language": "http" } ] } [/block] RESPONSE: [block:code] { "codes": [ { "code": "{\n \"DurationInMinutes\": 20\n}", "language": "json" } ] } [/block] [block:image] { "images": [ { "image": [] } ] } [/block]