carts / #15
- userId
-
Melvina Reilly @melvina_reilly83
- currency
- USD
- subtotal
- 1126.5
- itemCount
- 4
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/15" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/15"
);
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/15"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/15"
)
cart = res.json() {
"id": 15,
"userId": 26,
"currency": "USD",
"subtotal": 1126.5,
"itemCount": 4,
"updatedAt": "2026-03-09T11:31:30.796Z",
"createdAt": "2025-06-03T15:54:20.083Z"
}