example-data.com

carts / #121

userId
Dasia Volkman @dasia_volkman65
currency
USD
subtotal
5049.63
itemCount
13
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/121"
)
cart = res.json()
{
  "id": 121,
  "userId": 219,
  "currency": "USD",
  "subtotal": 5049.63,
  "itemCount": 13,
  "updatedAt": "2025-10-27T12:30:45.161Z",
  "createdAt": "2025-03-17T11:33:55.905Z"
}
Draftbit