---
title: "Returns the list of products in user's shopping cart"
method: GET
path: "/api/v1/carts/{customerId}/items"
tags: ["cart"]
---

# Returns the list of products in user's shopping cart

`GET /api/v1/carts/{customerId}/items`

Returns the items in shopping cart of given customer

## Path parameters

- `customerId` string, required

## Response `200`

successful operation

- Item[]
  - `id` string — Item Identifier
  - `quantity` integer — The item quantity
  - `unitPrice` unknown

## Other responses

- `404` — Given customer ID doesn't exist

---

[API](https://skmtc.dev/packtpublishing/apis/sample-ecommerce-app.md) · [All operations](https://skmtc.dev/packtpublishing/apis/sample-ecommerce-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/packtpublishing/sample-ecommerce-app/revisions/51a26ae44206/schema)
