carts / #32
- userId
-
Samson Stroman @samson_stroman
- currency
- USD
- subtotal
- 265.39
- itemCount
- 1
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/32" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/32"
);
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/32"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/32"
)
cart = res.json() {
"id": 32,
"userId": 52,
"currency": "USD",
"subtotal": 265.39,
"itemCount": 1,
"updatedAt": "2026-02-14T13:49:54.409Z",
"createdAt": "2025-02-28T08:22:33.220Z"
}