{ "opencollection": "1.0.0", "info": { "name": "Just Eat UK Attempted Delivery API Order Webhooks API", "version": "3.0" }, "items": [ { "info": { "name": "Order Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Order ready for preparation (async)", "type": "http" }, "http": { "method": "POST", "url": "https://uk.api.just-eat.io/order-ready-for-preparation-async", "body": { "type": "json", "data": "{}" } }, "docs": "This webhook will be invoked when we have determined that an order is ready for preparation. Upon receiving the request, you should perform any preparation-related activities, such as sending the order to the POS system / kitchen screen.\n**NOTE:** This version of the webhook is asynchronous, and we expect a response in two parts:\n 1. We expect an immediate `202` response from this webhook to denote that you have received the request;\n 2. Following that, we expect an [async callback](#section/A" }, { "info": { "name": "Order ready for preparation (sync)", "type": "http" }, "http": { "method": "POST", "url": "https://uk.api.just-eat.io/order-ready-for-preparation-sync", "body": { "type": "json", "data": "{}" } }, "docs": "This webhook will be invoked when we have determined that an order is ready for preparation. Upon receiving the request, you should perform any preparation-related activities, such as sending the order to the POS system / kitchen screen.\n" }, { "info": { "name": "Send to POS failed", "type": "http" }, "http": { "method": "POST", "url": "https://uk.api.just-eat.io/send-to-pos-failed", "body": { "type": "json", "data": "{}" } }, "docs": "This webhook will be invoked if we experience an error or timeout in sending an order to the underlying POS / kitchen screen. When notified via this webhook, typically you will perform some form of alerting or backup flow (e.g. ask the operator to enter the order manually into the POS). NOTE: This message contains the `OrderId`, but not the full order. It is assumed that you have stored/cached the full order details earlier in the flow - e.g. via the [/order-ready-for-preparation](#/paths/~1orde" } ] } ], "bundled": true }