example-data.com

carts / #79

userId
Ludwig Stiedemann @ludwig_stiedemann
currency
USD
subtotal
625.78
itemCount
2
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/79"
)
cart = res.json()
{
  "id": 79,
  "userId": 132,
  "currency": "USD",
  "subtotal": 625.78,
  "itemCount": 2,
  "updatedAt": "2025-11-01T13:48:34.455Z",
  "createdAt": "2025-07-09T20:08:57.856Z"
}
Draftbit