example-data.com

carts / #51

userId
Colby Kovacek @colby_kovacek40
currency
USD
subtotal
1116.87
itemCount
3
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/51"
)
cart = res.json()
{
  "id": 51,
  "userId": 85,
  "currency": "USD",
  "subtotal": 1116.87,
  "itemCount": 3,
  "updatedAt": "2025-11-10T06:34:16.808Z",
  "createdAt": "2024-11-15T02:10:52.086Z"
}
Draftbit