---
title: "Get Checkout"
method: GET
path: "/checkout/{tenant}/{checkoutId}"
tags: ["Checkout", "publicly-accessible"]
---

# Get Checkout

`GET /checkout/{tenant}/{checkoutId}`

Get the details required to fulfil an order, which includes:
  - The restaurant selling the items to be purchased
  - The customer making the purchase
  - How, where and when the items will be received by the customer
  - Instructions about the order

## Path parameters

- `tenant` string, required
- `checkoutId` string, required

## Headers

- `User-Agent` string, required

## Response `200`

OK : Request has succeeded.

- CheckoutGetResponse — Properties apply to all supported country codes, except where specified.
  - `customer` object, required — Details of the customer making the purchase. Details of the customer will need to be submitted to the service. No default values will be set.
    - `firstName` string, nullable — Customer's first name. Also known as Given Name(s).
    - `lastName` string, nullable — Customer's last name (Optional). Also known as Family Name.
    - `phoneNumber` string, nullable — Customer's phone number. A phone number can be represented in: - E.164 format e.g. +447777111111 or; - Local format of submitted tenant e.g. 07777111111. E.164 formatted phone numbers are preferred.
  - `fulfilment` object, required — How and when the items will be received by the customer.
    - `location` object, nullable — The destination the customer wants to receive the order. This only applies to purchases with a delivery service type.
      - `address` object, nullable — The postal address where the customer wants to receive the order.
        - `administrativeArea` string, nullable — Geographical region of this address. Also known as County or State. Required in Australia (AU) only for an order to be fulfilled.
        - `lines` string[] — One or more lines representing the street address.
        - `locality` string, nullable — The locality of this address. Also known as Town or City.
        - `postalCode` string, nullable — Postal code of this address.
      - `geolocation` object, nullable — The coordinates of a geographical location where the customer wants to receive the order. Required in Australia (AU) and New Zealand (NZ) only for an order to be fulfilled.
        - `latitude` number, required — The latitude of the geographical location.
        - `longitude` number, required — The longitude of the geographical location.
    - `time` object, nullable — Time the customer wants to receive the order i.e. when order is fulfilled.
      - `asap` boolean, required — If the order should be fulfilled as soon as possible (ASAP). ASAP may not be fulfillable. Default is false.
      - `scheduled` object, nullable — Scheduled time the customer wants the order to be fulfilled. If ASAP is selected and fulfillable, this will be set to the next available fulfilment time.
        - `from` string, required — Earliest time the customer wants the order to be fulfilled represented in ISO 8601 UTC (Zulu Time).
        - `to` string, required — Latest time the customer wants the order to be fulfilled represented in ISO 8601 UTC (Zulu Time). This time must be greater than or equal to the from time.
  - `isFulfillable` boolean, required — Whether the proposed order can be placed.
  - `issues` CheckoutIssue[], required — One or more issues associated the proposed order, that may impact whether it can be placed.
    - `code` 'RESTAURANT_NOT_TAKING_ORDERS' | 'SERVICE_TYPE_UNAVAILABLE' | 'ITEMS_UNORDERABLE' | 'ADDITIONAL_ITEMS_REQUIRED' | 'MINIMUM_ORDER_VALUE_NOT_MET' | 'FULFILMENT_TIME_UNAVAILABLE' | 'LOCATION_UNDELIVERABLE' | 'AGE_VERIFICATION_FAILED' | 'FIRST_NAME_REQUIRED' | 'PHONE_NUMBER_REQUIRED' | 'DATE_OF_BIRTH_REQUIRED' | 'FULFILMENT_TIME_REQUIRED' | 'ADDRESS_LINES_REQUIRED' | 'LOCALITY_REQUIRED' | 'ADMINISTRATIVE_AREA_REQUIRED' | 'POSTAL_CODE_REQUIRED' | 'GEOLOCATION_REQUIRED', required — The issue code
  - `restaurant` object, required — The restaurant selling the items to be purchased.
    - `availabilityId` string, required — Unique identifier to identify when item(s) are available for ordering.
    - `id` string, required — Unique identifier for the restaurant.
  - `serviceType` 'delivery' | 'collection', required — How the order will be dispatched.

## Other responses

- `400` — BAD REQUEST : Cannot process the request due to error by client.
- `401` — UNAUTHORIZED : Missing authentication credentials to access target resource.
- `403` — FORBIDDEN : Not authorised to access target resource.
- `404` — NOT FOUND : Target resource could not be found.
- `409` — CONFLICT : Request not completed as it conflicts with target resource.
- `429` — TOO MANY REQUESTS : Request not completed as server has received too many requests in a given amount of time.
- `500` — INTERNAL SERVER ERROR : Error on server preventing request from being fulfilled.
- `503` — SERVICE UNAVAILABLE : Server currently unable to fulfil the request. The request can be retried.

---

[API](https://skmtc.net/justeat/apis/just-eat.md) · [All operations](https://skmtc.net/justeat/apis/just-eat/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/justeat/just-eat/versions/49ff8eb806d9/schema)
