---
title: "Get order"
method: GET
path: "/order/{id}"
tags: ["Orders"]
---

# Get order

`GET /order/{id}`

Get the order with the given ID.

## Path parameters

- `id` string, required — ID of the order to get.

## Response `200`

Order information.

- object
  - `data` Order, required — An order from the Terminal shop.
    - `id` string, required — Unique object identifier. The format and length of IDs may change over time.
    - `index` number — Zero-based index of the order for this user only.
    - `shipping` object, required — Shipping address of the order.
      - `name` string, required — The recipient's name.
      - `street1` string, required — Street of the address.
      - `street2` string — Apartment, suite, etc. of the address.
      - `city` string, required — City of the address.
      - `province` string — Province or state of the address.
      - `country` string, required — ISO 3166-1 alpha-2 country code of the address.
      - `zip` string, required — Zip code of the address.
      - `phone` string — Phone number of the recipient.
    - `amount` object, required — The subtotal and shipping amounts of the order.
      - `shipping` number, required — Shipping amount of the order, in cents (USD).
      - `subtotal` number, required — Subtotal amount of the order, in cents (USD).
    - `tracking` object, required — Tracking information of the order.
      - `service` string — Shipping service of the order.
      - `number` string — Tracking number of the order.
      - `url` string — Tracking URL of the order.
    - `items` OrderItem[], required — Items in the order.
      - `id` string, required — Unique object identifier. The format and length of IDs may change over time.
      - `description` string — Description of the item in the order.
      - `amount` number, required — Amount of the item in the order, in cents (USD).
      - `quantity` number, required — Quantity of the item in the order.
      - `productVariantID` string — ID of the product variant of the item in the order.

## Other responses

- `404` — Order not found.

## Changes

- **2024-12-13** `916cf9100f68` — 1 breaking, 9 info
  - the `data/allOf[#/components/schemas/Order]/shipping` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `data/allOf[#/components/schemas/Order]/shipping/phone` to the response with the `200` status
  - added the optional property `data/allOf[#/components/schemas/Order]/shipping/province` to the response with the `200` status
  - added the optional property `data/allOf[#/components/schemas/Order]/shipping/street2` to the response with the `200` status
  - …6 more
- **2024-12-13** `43ff7af31b1e` — 2 breaking, 3 info
  - added the new path request parameter `id`
  - removed the required property `result` from the response with the `200` status
  - api operation id `getOrderById` was added
  - api tag `Orders` added
  - …1 more

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/order/:id/get.md)

---

[API](https://skmtc.dev/terminaldotshop/apis/terminal-api.md) · [All operations](https://skmtc.dev/terminaldotshop/apis/terminal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/terminaldotshop/terminal-api/revisions/2d657e4e5d6b/schema)
