example-data.com

cart-items

cart-items

Page 5 of 10.

curl -sS \
  "https://example-data.com/api/v1/cart-items?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/cart-items?limit=25"
);
const { data, meta } = await res.json();
import type { CartItem, ListEnvelope } from "https://example-data.com/types/cart-items.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/cart-items?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<CartItem>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/cart-items",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 97,
      "cartId": 38,
      "productId": 9,
      "quantity": 1,
      "unitPrice": 67.29,
      "addedAt": "2025-09-15T00:23:01.409Z"
    },
    {
      "id": 98,
      "cartId": 38,
      "productId": 193,
      "quantity": 2,
      "unitPrice": 113.33,
      "addedAt": "2026-05-21T01:15:10.315Z"
    },
    {
      "id": 99,
      "cartId": 38,
      "productId": 144,
      "quantity": 2,
      "unitPrice": 7.29,
      "addedAt": "2025-11-19T16:10:57.218Z"
    }
  ],
  "meta": {
    "page": 5,
    "limit": 24,
    "total": 426,
    "totalPages": 18
  },
  "links": {
    "self": "/api/v1/cart-items?page=5",
    "next": "/api/v1/cart-items?page=6",
    "prev": "/api/v1/cart-items?page=4"
  }
}
Draftbit