example-data.com

carts / #99

userId
Kaleb Schmidt @kaleb.schmidt
currency
USD
subtotal
5969.88
itemCount
16
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/99"
)
cart = res.json()
{
  "id": 99,
  "userId": 171,
  "currency": "USD",
  "subtotal": 5969.88,
  "itemCount": 16,
  "updatedAt": "2025-08-27T22:07:01.403Z",
  "createdAt": "2025-07-25T16:33:24.579Z"
}
Draftbit