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 ConsumerQueries API

The ConsumerQueries API from Just Eat — 2 operation(s) for consumerqueries.

Just Eat ConsumerQueries 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 ConsumerQueries. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 2 operations across 2 paths, and defines 4 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.

2 operations 2 paths 4 schemas 2 POST

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 ConsumerQueries 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 2

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

ConsumerQueries 2
POST
/orders/{tenant}/{orderId}/consumerqueries/lateorder/restaurantresponse
Response to Late Order Update Request
3 params body → 202400401404409500
POST
/orders/{tenant}/{orderId}/consumerqueries/lateordercompensation/restaurantresponse
Update late order compensation request with Restaurant response
3 params body → 202400401404409500

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are LateOrderCompensationRestaurantResolution (4 properties), LateOrderRestaurantResponse (2 properties), 4XXErrorSchema (1 property), 500ErrorSchema (1 property). Each schema is shown below with its type and property counts.

LateOrderRestaurantResponse
object
2 properties
500ErrorSchema
object
A HTTP 500 error response
1 property
4XXErrorSchema
object
A HTTP 4xx error response
1 property
LateOrderCompensationRestaurantResolution
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

just-eat-consumerqueries-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 Consumers API
Just Eat Delivery Pools API API
Just Eat DeliveryFee API
Just Eat Order Acceptance API API
Just Eat Order Acceptance Webhooks API
Just Eat Order API API
Just Eat Order Delivery API API
Just Eat Order Delivery Webhooks API