---
title: "Get cart"
method: GET
path: "/cart"
tags: ["Cart"]
---

# Get cart

`GET /cart`

Get the current user's cart.

## Response `200`

The current user's cart.

- object
  - `data` Cart, required — The current Terminal shop user's cart.
    - `items` CartItem[], required — An array of items in the current user's cart.
      - `id` string, required — Unique object identifier. The format and length of IDs may change over time.
      - `productVariantID` string, required — ID of the product variant for this item in the current user's cart.
      - `quantity` integer, required — Quantity of the item in the current user's cart.
      - `subtotal` integer, required — Subtotal of the item in the current user's cart, in cents (USD).
    - `subtotal` integer, required — The subtotal of all items in the current user's cart, in cents (USD).
    - `addressID` string — ID of the shipping address selected on the current user's cart.
    - `cardID` string — ID of the card selected on the current user's cart.
    - `amount` object, required — The subtotal and shipping amounts for the current user's cart.
      - `subtotal` integer, required — Subtotal of the current user's cart, in cents (USD).
      - `shipping` integer — Shipping amount of the current user's cart, in cents (USD).
      - `total` integer — Total amount after any discounts, in cents (USD).
    - `shipping` object — Shipping information for the current user's cart.
      - `service` string — Shipping service name.
      - `timeframe` string — Shipping timeframe provided by the shipping carrier.

## Other responses

- `401` — Unauthorized - Authentication is required and has failed or has not been provided.
- `429` — Too Many Requests - You have made too many requests in a short period of time.
- `500` — Internal Server Error - Something went wrong on our end.

## Changes

- **2025-03-13** `12aaa327d653` — 2 warning
  - removed the optional property `data/allOf[#/components/schemas/Cart]/amount/giftCard` from the response with the `200` status
  - removed the optional property `data/allOf[#/components/schemas/Cart]/giftCardID` from the response with the `200` status
- **2025-03-11** `3b68749c34dc` — 3 info
  - added the optional property `data/allOf[#/components/schemas/Cart]/amount/giftCard` to the response with the `200` status
  - added the optional property `data/allOf[#/components/schemas/Cart]/amount/total` to the response with the `200` status
  - added the optional property `data/allOf[#/components/schemas/Cart]/giftCardID` to the response with the `200` status
- **2025-03-07** `979a6c40552c` — 3 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
- **2024-12-13** `916cf9100f68` — 1 warning, 1 info
  - removed the optional property `data/allOf[#/components/schemas/Cart]/shippingID` from the response with the `200` status
  - added the optional property `data/allOf[#/components/schemas/Cart]/addressID` to the response with the `200` status
- **2024-12-13** `43ff7af31b1e` — 1 breaking, 4 info
  - removed the required property `result` from the response with the `200` status
  - api operation id `getCart` was added
  - the endpoint scheme security `Bearer` was removed from the API
  - api tag `Cart` added
  - …1 more

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/cart/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.dev/terminaldotshop/apis/terminal-api/revisions/ea86fe004b06?raw)
