example-data.com

carts / #81

userId
Jonas Rath @jonas.rath
currency
USD
subtotal
1502.58
itemCount
4
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/81"
)
cart = res.json()
{
  "id": 81,
  "userId": 138,
  "currency": "USD",
  "subtotal": 1502.58,
  "itemCount": 4,
  "updatedAt": "2026-01-12T22:12:25.386Z",
  "createdAt": "2025-05-27T18:17:36.764Z"
}
Draftbit