---
title: "Get Cart Summary By Cart Id"
method: GET
path: "/commerce/carts/{cartId}/summary"
tags: ["Cart"]
---

# Get Cart Summary By Cart Id

`GET /commerce/carts/{cartId}/summary`

Retrieves the number of items in the specified cart, total cost of items in the cart, and whether the cart has expired by cartId. All anonymous idle carts that do not proceed to checkout expire after 14 days.

## Path parameters

- `cartId` string, required

## Query parameters

- `responseFields` string

## Response `200`

OK

- CartSummary — Cart summary, which is the number of items in the active cart, total cost of items in the cart, and whether the cart has expired.
  - `hasActiveCart` boolean, nullable — If true, the cart is active. A shopper has added an item to a cart.
  - `isExpired` boolean, nullable — If true, the cart has reached its expiration date (Cart.ExpirationDate) and considered abandoned. Carts of anonymous shoppers expire after 14 days of inactivity.
  - `itemCount` integer, nullable — Number of items in the active cart.
  - `total` number, double, nullable — Total cost of items in the active cart.
  - `totalQuantity` integer, nullable — Total quantity of all items in the cart

---

[API](https://skmtc.net/kibocommerce/apis/customer.md) · [All operations](https://skmtc.net/kibocommerce/apis/customer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kibocommerce/customer/versions/47c0cf7b75ab/schema)
