example-data.com

cart-items

cart-items

Page 3 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": 49,
      "cartId": 17,
      "productId": 98,
      "quantity": 1,
      "unitPrice": 345.69,
      "addedAt": "2026-02-13T18:40:24.832Z"
    },
    {
      "id": 50,
      "cartId": 18,
      "productId": 114,
      "quantity": 3,
      "unitPrice": 112.99,
      "addedAt": "2026-01-11T13:28:28.837Z"
    },
    {
      "id": 51,
      "cartId": 19,
      "productId": 59,
      "quantity": 4,
      "unitPrice": 379.25,
      "addedAt": "2025-06-21T18:55:05.038Z"
    }
  ],
  "meta": {
    "page": 3,
    "limit": 24,
    "total": 426,
    "totalPages": 18
  },
  "links": {
    "self": "/api/v1/cart-items?page=3",
    "next": "/api/v1/cart-items?page=4",
    "prev": "/api/v1/cart-items?page=2"
  }
}
Draftbit