carts / #14
- userId
-
Celia D'Amore @celia_damore
- currency
- USD
- subtotal
- 1112
- itemCount
- 8
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/14" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/14"
);
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/14"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/14"
)
cart = res.json() {
"id": 14,
"userId": 24,
"currency": "USD",
"subtotal": 1112,
"itemCount": 8,
"updatedAt": "2025-11-03T05:33:43.932Z",
"createdAt": "2025-06-30T15:55:00.001Z"
}