example-data.com

carts / #66

userId
Abdul Rau @abdul.rau
currency
USD
subtotal
226.39
itemCount
1
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/66"
)
cart = res.json()
{
  "id": 66,
  "userId": 108,
  "currency": "USD",
  "subtotal": 226.39,
  "itemCount": 1,
  "updatedAt": "2025-08-18T15:17:04.543Z",
  "createdAt": "2025-02-09T20:34:38.525Z"
}
Draftbit