example-data.com

carts / #132

userId
Roosevelt Ullrich @roosevelt.ullrich75
currency
USD
subtotal
901.97
itemCount
8
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/132"
)
cart = res.json()
{
  "id": 132,
  "userId": 237,
  "currency": "USD",
  "subtotal": 901.97,
  "itemCount": 8,
  "updatedAt": "2026-05-16T06:17:22.412Z",
  "createdAt": "2025-09-03T13:10:50.473Z"
}
Draftbit