example-data.com

carts / #110

userId
Oran Torphy @oran_torphy
currency
USD
subtotal
2278.6
itemCount
10
updatedAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/carts/110" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/carts/110"
);
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/110"
);
const cart = (await res.json()) as Cart;
import requests

res = requests.get(
    "https://example-data.com/api/v1/carts/110"
)
cart = res.json()
{
  "id": 110,
  "userId": 189,
  "currency": "USD",
  "subtotal": 2278.6,
  "itemCount": 10,
  "updatedAt": "2026-04-09T10:10:06.572Z",
  "createdAt": "2025-05-15T10:37:39.680Z"
}
Draftbit