carts / #102
- userId
-
Ismael Ward @ismael_ward
- currency
- USD
- subtotal
- 3629.17
- itemCount
- 9
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/102" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/102"
);
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/102"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/102"
)
cart = res.json() {
"id": 102,
"userId": 178,
"currency": "USD",
"subtotal": 3629.17,
"itemCount": 9,
"updatedAt": "2025-10-08T12:58:46.549Z",
"createdAt": "2025-05-08T02:45:51.897Z"
}