example-data.com

cart-items

cart-items

Page 9 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": 193,
      "cartId": 69,
      "productId": 115,
      "quantity": 2,
      "unitPrice": 379.19,
      "addedAt": "2025-09-20T13:29:27.166Z"
    },
    {
      "id": 194,
      "cartId": 69,
      "productId": 54,
      "quantity": 1,
      "unitPrice": 290.75,
      "addedAt": "2026-02-01T15:35:00.384Z"
    },
    {
      "id": 195,
      "cartId": 70,
      "productId": 178,
      "quantity": 4,
      "unitPrice": 116.85,
      "addedAt": "2026-03-13T00:55:23.105Z"
    }
  ],
  "meta": {
    "page": 9,
    "limit": 24,
    "total": 426,
    "totalPages": 18
  },
  "links": {
    "self": "/api/v1/cart-items?page=9",
    "next": "/api/v1/cart-items?page=10",
    "prev": "/api/v1/cart-items?page=8"
  }
}
Draftbit