example-data.com

carts / #33

userId
Darian Schaden @darian_schaden36
currency
USD
subtotal
4123.36
itemCount
14
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/33"
)
cart = res.json()
{
  "id": 33,
  "userId": 53,
  "currency": "USD",
  "subtotal": 4123.36,
  "itemCount": 14,
  "updatedAt": "2025-12-25T08:01:38.637Z",
  "createdAt": "2025-05-26T22:09:27.588Z"
}
Draftbit