example-data.com

cart-items

cart-items

Browse 426 cart-items records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.

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": 1,
      "cartId": 1,
      "productId": 177,
      "quantity": 2,
      "unitPrice": 47.15,
      "addedAt": "2026-03-07T06:07:41.991Z"
    },
    {
      "id": 2,
      "cartId": 1,
      "productId": 192,
      "quantity": 3,
      "unitPrice": 265.39,
      "addedAt": "2025-12-12T22:44:27.903Z"
    },
    {
      "id": 3,
      "cartId": 1,
      "productId": 103,
      "quantity": 4,
      "unitPrice": 26.69,
      "addedAt": "2025-10-11T05:34:52.246Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 426,
    "totalPages": 18
  },
  "links": {
    "self": "/api/v1/cart-items?page=1",
    "first": "/api/v1/cart-items?page=1",
    "last": "/api/v1/cart-items?page=18",
    "next": "/api/v1/cart-items?page=2",
    "prev": null
  }
}

View full response →

Draftbit