example-data.com

carts / #65

userId
Elva Roberts @elva.roberts48
currency
USD
subtotal
691.38
itemCount
2
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/65"
)
cart = res.json()
{
  "id": 65,
  "userId": 107,
  "currency": "USD",
  "subtotal": 691.38,
  "itemCount": 2,
  "updatedAt": "2025-09-14T08:36:34.966Z",
  "createdAt": "2025-03-13T03:03:21.274Z"
}
Draftbit