example-data.com

carts / #36

userId
Niko Wisozk @niko_wisozk
currency
USD
subtotal
262.75
itemCount
1
updatedAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/carts/36" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/carts/36"
);
const cart = await res.json();
import type { Cart } from "https://example-data.com/types/carts.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/carts/36"
);
const cart = (await res.json()) as Cart;
import requests

res = requests.get(
    "https://example-data.com/api/v1/carts/36"
)
cart = res.json()
{
  "id": 36,
  "userId": 56,
  "currency": "USD",
  "subtotal": 262.75,
  "itemCount": 1,
  "updatedAt": "2026-03-19T06:25:47.070Z",
  "createdAt": "2026-02-06T17:22:12.703Z"
}
Draftbit