{"_id":"582c7058e4a4920f00ff0050","category":{"_id":"582c7058e4a4920f00ff0048","version":"582c7058e4a4920f00ff0045","__v":0,"project":"56c1e50bce02590d006091c9","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-28T15:09:02.677Z","from_sync":false,"order":1,"slug":"orderconnect-sending-an-order","title":"Delivery partners"},"__v":0,"user":"579a0643ebcc7419003c0db4","project":"56c1e50bce02590d006091c9","parentDoc":null,"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"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-07-28T15:55:10.861Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"Just Eat's Orderconnect API should be used by software and delivery partners to do the following:\n\n  * [Receive orders from Just Eat](https://justeat.github.io/partnerapi-docs/#/paths/~1order-requires-delivery-acceptance/put)\n  * [Send status updates to Just Eat](https://justeat.github.io/partnerapi-docs/#tag/order-delivery-api) as orders progress\n    * [Driver Assigned](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1driverassigned/put)\n    * [Driver At Restaurant](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1atrestaurant/put)\n    * [Order On Its Way](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1onitsway/put)\n    * [Driver At Delivery Address](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1atdeliveryaddress/put)\n    * [Order Delivered](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1delivered/put)\n  * [Send driver location updates to Just Eat](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1driverlocation/put)\n  * [Receive status updates from Just Eat](https://justeat.github.io/partnerapi-docs/#/paths/~1order-is-ready-for-pickup/put)\n\nThe typical workflow followed when managing an order using the Orderconnect API is as follows:\n\n  * Just Eat sends new orders to the partner's endpoint URL\n  * The delivery partner should respond confirming acceptance (or rejection) of each order\n  * The partner should send a series of predefined [order status callbacks](https://justeat.github.io/partnerapi-docs/#tag/order-delivery-api) as the order progresses through its life-cycle\n  * Once an order has been assigned to a driver, the partner should send regular callbacks that track the driver's location\n  * Just Eat may send additional [order status updates](https://justeat.github.io/partnerapi-docs/#/paths/~1order-requires-delivery-acceptance/post) to the delivery partner as required (for instance, to let the partner know that the food is ready for collection from the restaurant).\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/0032a20-ec84454-Orderconnect_diagrams.png\",\n        \"ec84454-Orderconnect_diagrams.png\",\n        611,\n        540,\n        \"#323232\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"The Overview of the Orderconnect integration for delivery partners","slug":"send-orders-to-orderconnect","type":"basic","title":"Delivery partner integration overview"}

Delivery partner integration overview

The Overview of the Orderconnect integration for delivery partners

Just Eat's Orderconnect API should be used by software and delivery partners to do the following: * [Receive orders from Just Eat](https://justeat.github.io/partnerapi-docs/#/paths/~1order-requires-delivery-acceptance/put) * [Send status updates to Just Eat](https://justeat.github.io/partnerapi-docs/#tag/order-delivery-api) as orders progress * [Driver Assigned](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1driverassigned/put) * [Driver At Restaurant](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1atrestaurant/put) * [Order On Its Way](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1onitsway/put) * [Driver At Delivery Address](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1atdeliveryaddress/put) * [Order Delivered](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1delivered/put) * [Send driver location updates to Just Eat](https://justeat.github.io/partnerapi-docs/#/paths/~1orders~1{orderId}~1deliverystate~1driverlocation/put) * [Receive status updates from Just Eat](https://justeat.github.io/partnerapi-docs/#/paths/~1order-is-ready-for-pickup/put) The typical workflow followed when managing an order using the Orderconnect API is as follows: * Just Eat sends new orders to the partner's endpoint URL * The delivery partner should respond confirming acceptance (or rejection) of each order * The partner should send a series of predefined [order status callbacks](https://justeat.github.io/partnerapi-docs/#tag/order-delivery-api) as the order progresses through its life-cycle * Once an order has been assigned to a driver, the partner should send regular callbacks that track the driver's location * Just Eat may send additional [order status updates](https://justeat.github.io/partnerapi-docs/#/paths/~1order-requires-delivery-acceptance/post) to the delivery partner as required (for instance, to let the partner know that the food is ready for collection from the restaurant). [block:image] { "images": [ { "image": [ "https://files.readme.io/0032a20-ec84454-Orderconnect_diagrams.png", "ec84454-Orderconnect_diagrams.png", 611, 540, "#323232" ] } ] } [/block]