---
title: "Returns given item from user's shopping cart"
method: GET
path: "/api/v1/carts/{customerId}/items/{itemId}"
tags: ["cart"]
---

# Returns given item from user's shopping cart

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

Returns given item from shopping cart of given customer

## Path parameters

- `customerId` string, required
- `itemId` string, required

## Response `200`

If item exists in cart

- Item — Items in shopping cart
  - `id` string — Item Identifier
  - `quantity` integer — The item quantity
  - `unitPrice` unknown

## Other responses

- `404` — Given item (product) 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)
