---
title: "Get items in a customer's active cart"
method: GET
path: "/customers/{customerId}/cart-items"
tags: ["Admin Customers"]
---

# Get items in a customer's active cart

`GET /customers/{customerId}/cart-items`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/customers/{customerId}/cart-items`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/customers/:customerId/cart-items/get.ts> (a function with typed inputs; its response is checked against the schema)

Items the customer has in their own storefront cart (`carts.is_active = 1`). Used by the Create-Order screen's right sidebar so the admin can pull items into the draft cart.

## Path parameters

- `customerId` integer, required

## Response `200`

Active cart items (empty data array if the customer has no active cart).

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
