---
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` number, 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` number, required — The subtotal of all items in the current user's cart.
    - `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).
    - `shipping` object — Shipping information for the current user's cart.
      - `service` string — Shipping service name.
      - `timeframe` string — Shipping timeframe provided by the shipping carrier.

## Changes

- **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/a63f15bf21a8?raw)
