example-data.com

carts / #67

userId
Earnestine Dickinson @earnestine_dickinson
currency
USD
subtotal
1423.56
itemCount
8
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/67"
)
cart = res.json()
{
  "id": 67,
  "userId": 110,
  "currency": "USD",
  "subtotal": 1423.56,
  "itemCount": 8,
  "updatedAt": "2025-07-20T13:24:54.353Z",
  "createdAt": "2024-10-21T10:29:15.506Z"
}
Draftbit