Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Just Eat Order Acceptance API API

The Order Acceptance API API from Just Eat — 7 operation(s) for order acceptance api.

Just Eat Order Acceptance API API is one of 24 APIs that Just Eat publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Order Acceptance API. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 7 operations across 7 paths, and defines 6 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against 3 base URLs: https://uk.api.just-eat.io, https://i18n.api.just-eat.io, https://aus.api.just-eat.io.

7 operations 7 paths 6 schemas 2 POST5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://uk.api.just-eat.io
Authentication
HTTP Bearer, API Key, HTTP Basic, OpenID Connect, HTTP Bearer
Resource Areas
1

Authentication & Security 5

Just Eat Order Acceptance API API declares 5 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (Bearer). An API key is passed in the header as Authorization (api_key). It accepts HTTP basic authentication (basic_auth). It supports OpenID Connect (justeat_adfs) discovered at https://adfs.just-eat.com/adfs/.well-known/openid-configuration. It accepts HTTP bearer tokens (JWT token with payload `RestaurantId` and Role `[RestaurantRead | VerifyEmail | RestaurantWrite | FullAccess | DocumentRead]`) (restaurantsignup_jwt).

  • Bearer — Bearer token authentication using a JSON Web Token (JWT).
  • api_key — APIs for delivery partners require an API key that will have been issued to you.
  • basic_auth — A few services allow the use of basic authentication when a partner doesn't support OAuth based authentication.
  • justeat_adfs — ADFS authentication provider for internal Just Eat tools.
  • restaurantsignup_jwt — Bearer token authentication using a JSON Web Token (JWT), used by the restaurant sign up system

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 2 POST, 5 PUT. Each is listed below with its method, path, parameters, and response codes.

Order Acceptance API 7
PUT
/orders/{orderId}/accept
Accept order
1 param body → 200404409
PUT
/orders/{orderId}/cancel
Cancel order
1 param body → 200404409
POST
/orders/{orderId}/complete
Complete order
1 param → 204404409500
PUT
/orders/{orderId}/duedate
Update order ETA
1 param body → 200400404
PUT
/orders/{orderId}/ignore
Ignore order
1 param → 200404409
POST
/orders/{orderId}/readyforcollection
Mark order as ready for collection
1 param → 204400404409500
PUT
/orders/{orderId}/reject
Reject order
1 param body → 200404409

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are 4XXErrorSchema (1 property), order-cancel-request (1 property), 500ErrorSchema (1 property), order-reject-request (1 property). Each schema is shown below with its type and property counts.

order-accept-request
object
1 property
order-due-date-request
object
1 property
order-reject-request
object
1 property
500ErrorSchema
object
A HTTP 500 error response
1 property
order-cancel-request
object
1 property
4XXErrorSchema
object
A HTTP 4xx error response
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

just-eat-order-acceptance-api-api-openapi.yml Raw ↑

Other APIs Just Eat publishes across the network.

Just Eat Attempted Delivery API API
Just Eat Attempted Delivery Webhooks API
Just Eat Checkout API
Just Eat Consumer Queries Webhooks API
Just Eat ConsumerQueries API
Just Eat Consumers API
Just Eat Delivery Pools API API
Just Eat DeliveryFee API
Just Eat Order Acceptance Webhooks API
Just Eat Order API API
Just Eat Order Delivery API API
Just Eat Order Delivery Webhooks API