Just Eat ConsumerQueries API
The ConsumerQueries API from Just Eat — 2 operation(s) for consumerqueries.
The ConsumerQueries API from Just Eat — 2 operation(s) for consumerqueries.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/just-eat-consumerqueries-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
x-twitter: JustEatUK
description: '# Just Eat API
Just Eat offers services for our various business partners and our consumer applications.'
title: Just Eat UK Consumer Queries API
version: 1.0.0
x-apisguru-categories:
- ecommerce
x-logo:
url: https://api.apis.guru/v2/cache/logo/https_twitter.com_JustEatUK_profile_image.png
x-origin:
- format: openapi
url: https://uk.api.just-eat.io/docs/openapi.json
version: '3.0'
x-providerName: just-eat.co.uk
servers:
- description: Production URL for the UK API
url: https://uk.api.just-eat.io
- description: Production URL for the DK, ES, IE, IT and NO API
url: https://i18n.api.just-eat.io
- description: Production URL for the AU and NZ API
url: https://aus.api.just-eat.io
tags:
- name: ConsumerQueries
paths:
/orders/{tenant}/{orderId}/consumerqueries/lateorder/restaurantresponse:
post:
description: If a customer has requested an update on the status of a late order, a response can be given by calling this endpoint.
parameters:
- description: Request tenant.
in: path
name: tenant
required: true
schema:
type: string
- description: Id for the order.
in: path
name: orderId
required: true
schema:
type: string
- description: Containing a partner issued API key e.g. `JE-API-KEY ABCDE123456789`
in: header
name: Authorization
required: true
schema:
type: string
requestBody:
content:
application/json:
example:
additionalDeliveryTimeToAddMinutes: 5
lateOrderStatus: OnItsWay
schema:
$ref: '#/components/schemas/LateOrderRestaurantResponse'
description: An object for updating the status of a late order query with the amount of time to add to the delivery estimate in minutes (optional)
required: true
responses:
'202':
description: Accepted
'400':
content:
application/json:
example:
errors:
- description: Justification notes are required for this query. Query Type:type Tenant:tenant QueryId:queryId OrderId:orderId
errorCode: BadRequest
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/4XXErrorSchema'
description: Bad Request. Returned if the request is invalid i.e. missing a required parameters
'401':
content:
application/json:
example:
errors:
- description: Unauthorized.
errorCode: Unauthorized
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/4XXErrorSchema'
description: Unauthorized. Consumer is not authorized to modify the resource
'404':
content:
application/json:
example:
errors:
- description: Order 1234 was not found
errorCode: NotFound
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/4XXErrorSchema'
description: Not Found. Order query or Order not found
'409':
content:
application/json:
example:
errors:
- description: Query 1234 cannot be responded to at this time
errorCode: Conflict
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/4XXErrorSchema'
description: Conflict. Query not in state to accept response
'500':
$ref: '#/components/responses/500ErrorResponse'
summary: Response to Late Order Update Request
tags:
- ConsumerQueries
operationId: postOrdersByTenantByOrderIdConsumerqueriesLateorderRestaurantresponse
x-operation-id-source: derived
/orders/{tenant}/{orderId}/consumerqueries/lateordercompensation/restaurantresponse:
post:
description: If a customer has requested compensation for a late order, a restaurant response is given by calling this endpoint.
parameters:
- description: Request tenant.
in: path
name: tenant
required: true
schema:
type: string
- description: Id for the order.
in: path
name: orderId
required: true
schema:
type: string
- description: Containing a partner issued API key e.g. `JE-API-KEY ABCDE123456789`
in: header
name: Authorization
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LateOrderCompensationRestaurantResolution'
description: The restaurant response to a late order compensation request. Indicates either a monetary amount (when the compensation is accepted); or a rejection reason (when compensation is rejected).
required: true
responses:
'202':
description: Accepted
'400':
content:
application/json:
example:
errors:
- description: A reason is required when compensation is rejected.
errorCode: BadRequest
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/4XXErrorSchema'
description: Bad Request. Returned if the request is invalid - e.g. contains missing or invalid parameters.
'401':
content:
application/json:
example:
errors:
- description: Unauthorized.
errorCode: Unauthorized
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/4XXErrorSchema'
description: Unauthorized. Consumer is not authorized to modify the resource
'404':
content:
application/json:
example:
errors:
- description: Order 1234 was not found
errorCode: NotFound
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/4XXErrorSchema'
description: Not Found. Order query or Order not found
'409':
content:
application/json:
example:
errors:
- description: Query 1234 cannot be responded to at this time
errorCode: Conflict
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/4XXErrorSchema'
description: Conflict. Query not in state to accept response
'500':
$ref: '#/components/responses/500ErrorResponse'
summary: Update late order compensation request with Restaurant response
tags:
- ConsumerQueries
x-status: Unstable
operationId: postOrdersByTenantByOrderIdConsumerqueriesLateordercompensationRestaurantresponse
x-operation-id-source: derived
components:
schemas:
500ErrorSchema:
description: A HTTP 500 error response
properties:
fault:
properties:
errors:
items:
properties:
description:
description: If returned, the only value returned will be Internal Server Error"
enum:
- Internal Server Error
type: string
type: object
type: array
faultId:
description: A value that helps identify this response back to logs, so we can easily find this specific fault
type: string
traceId:
description: A value that helps identify the trace back to logs, so that we can easily find what was happening on our system when the fault was generated
type: string
required:
- faultId
type: object
type: object
4XXErrorSchema:
description: A HTTP 4xx error response
properties:
fault:
properties:
errors:
items:
properties:
description:
description: Specific details about the error that may assist you in resolving the issue
type: string
errorCode:
description: A code that identifies the problem type. It will be supported by human-readable documentation that identifies how to resolve the error
type: string
type: object
type: array
faultId:
description: A value that helps identify this response back to logs, so we can easily find this specific fault
type: string
traceId:
description: A value that helps identify the trace back to logs, so that we can easily find what was happening on our system when the fault was generated
type: string
required:
- faultId
type: object
type: object
LateOrderRestaurantResponse:
properties:
additionalDeliveryTimeToAddMinutes:
description: The amount of time to add to the current delivery estimate in minutes
type: integer
lateOrderStatus:
description: The updated later order query status
enum:
- Preparing
- OnItsWay
- Delivered
type: string
type: object
LateOrderCompensationRestaurantResolution:
example:
acceptedAmount: 500
isAccepted: true
orderId: 69rqfxyfze2gjzf5nusdcw
properties:
acceptedAmount:
description: The monetary amount of compensation granted, in cents/pence. Required when `isAccepted = true`.
type: integer
isAccepted:
description: Flag to indicate whether a compensation request has been accepted or rejected.
type: boolean
orderId:
description: The ID of the late order compensation request that this response relates to.
type: string
rejectedReasonCode:
description: '
- `BadTraffic` : The driver was stuck in heavy traffic, sorry.
- `BadWeather` : The bad weather was delaying our deliveries, sorry.
- `BusierThanExpected` : Our restaurant was busier than we expected.
- `CompensatedWithItem` : We gave you something from the menu free of charge to make up for it.
- `NoReason` : We''re really sorry your order was late. We hope you enjoyed your food.'
enum:
- BadTraffic
- BadWeather
- BusierThanExpected
- CompensatedWithItem
- NoReason
type: string
type: object
responses:
500ErrorResponse:
content:
application/json:
example:
errors:
- description: Internal Server Error
faultId: 25bbe062-c53d-4fbc-9d6c-3df6127b94fd
traceId: H3TKh4QSJUSwVBCBqEtkKw==
schema:
$ref: '#/components/schemas/500ErrorSchema'
description: Internal Server Error
securitySchemes:
Bearer:
bearerFormat: JWT
description: Bearer token authentication using a JSON Web Token (JWT).
scheme: bearer
type: http
api_key:
description: APIs for delivery partners require an API key that will have been issued to you.
in: header
name: Authorization
type: apiKey
basic_auth:
description: A few services allow the use of basic authentication when a partner doesn't support OAuth based authentication.
scheme: basic
type: http
justeat_adfs:
description: ADFS authentication provider for internal Just Eat tools.
openIdConnectUrl: https://adfs.just-eat.com/adfs/.well-known/openid-configuration
type: openIdConnect
restaurantsignup_jwt:
bearerFormat: JWT token with payload `RestaurantId` and Role `[RestaurantRead | VerifyEmail | RestaurantWrite | FullAccess | DocumentRead]`
description: Bearer token authentication using a JSON Web Token (JWT), used by the restaurant sign up system
scheme: bearer
type: http
x-tagGroups:
- name: Consumer Experience
tags:
- Authorization
- Consumers
- ConsumerOffers
- ConsumerQueries
- Consumer Queries Webhooks
- ConsumerOrders
- Search
- Basket
- Payments
- Giftcards
- Experiments
- Vouchers
- Promoted Placement
- Menu
- Recommendations
- Location Services
- name: Manage Order Journey
tags:
- Order Acceptance API
- Order Acceptance Webhooks
- Order Delivery API
- Order Delivery Webhooks
- Order API
- Order Webhooks
- Customer Order Details
- DeliveryFee
- Delivery Pools API
- Attempted Delivery API
- Attempted Delivery Webhooks
- Checkout
- Courier Feedback
- name: Restaurant Management
tags:
- Restaurant Product
- Restaurants
- RestaurantOffers
- Restaurant OrderTimes
- Restaurants Webhooks
- RestaurantSignup
- RestaurantQueries
- RestaurantQueries Webhooks
- Restaurant Claims
- Restaurant Events
- Restaurant Events Webhooks
- Restaurant API
- Restaurant Webhooks
- Products
- Logistics POS Restaurants
- Restaurant Smiley Rating