carts / #16
- userId
-
Izaiah Rempel @izaiah_rempel
- currency
- USD
- subtotal
- 1502.48
- itemCount
- 5
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/16" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/16"
);
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/16"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/16"
)
cart = res.json() {
"id": 16,
"userId": 31,
"currency": "USD",
"subtotal": 1502.48,
"itemCount": 5,
"updatedAt": "2026-04-06T04:02:12.509Z",
"createdAt": "2026-01-03T08:44:25.668Z"
}