example-data.com

cart-items

cart-items

Page 4 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": 73,
      "cartId": 27,
      "productId": 12,
      "quantity": 4,
      "unitPrice": 330.6,
      "addedAt": "2025-06-03T17:00:32.132Z"
    },
    {
      "id": 74,
      "cartId": 27,
      "productId": 100,
      "quantity": 4,
      "unitPrice": 474.39,
      "addedAt": "2026-03-11T08:41:31.434Z"
    },
    {
      "id": 75,
      "cartId": 28,
      "productId": 42,
      "quantity": 2,
      "unitPrice": 24.35,
      "addedAt": "2026-01-01T09:12:35.893Z"
    }
  ],
  "meta": {
    "page": 4,
    "limit": 24,
    "total": 426,
    "totalPages": 18
  },
  "links": {
    "self": "/api/v1/cart-items?page=4",
    "next": "/api/v1/cart-items?page=5",
    "prev": "/api/v1/cart-items?page=3"
  }
}
Draftbit