carts / #48
- userId
-
Stephan Heller @stephan.heller
- currency
- USD
- subtotal
- 1478.63
- itemCount
- 6
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/48" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/48"
);
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/48"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/48"
)
cart = res.json() {
"id": 48,
"userId": 82,
"currency": "USD",
"subtotal": 1478.63,
"itemCount": 6,
"updatedAt": "2025-10-13T03:55:34.197Z",
"createdAt": "2025-05-09T06:11:56.776Z"
}