example-data.com

cart-items

cart-items

Page 10 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": 217,
      "cartId": 77,
      "productId": 140,
      "quantity": 3,
      "unitPrice": 258.39,
      "addedAt": "2025-08-11T10:16:09.434Z"
    },
    {
      "id": 218,
      "cartId": 77,
      "productId": 21,
      "quantity": 1,
      "unitPrice": 225.53,
      "addedAt": "2025-10-09T19:16:02.611Z"
    },
    {
      "id": 219,
      "cartId": 78,
      "productId": 127,
      "quantity": 4,
      "unitPrice": 98.49,
      "addedAt": "2025-07-03T23:49:32.016Z"
    }
  ],
  "meta": {
    "page": 10,
    "limit": 24,
    "total": 426,
    "totalPages": 18
  },
  "links": {
    "self": "/api/v1/cart-items?page=10",
    "next": "/api/v1/cart-items?page=11",
    "prev": "/api/v1/cart-items?page=9"
  }
}
Draftbit