carts / #4
- userId
-
Webster Skiles @webster_skiles39
- currency
- USD
- subtotal
- 897.56
- itemCount
- 4
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/4" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/4"
);
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/4"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/4"
)
cart = res.json() {
"id": 4,
"userId": 5,
"currency": "USD",
"subtotal": 897.56,
"itemCount": 4,
"updatedAt": "2025-09-21T22:23:18.891Z",
"createdAt": "2024-12-28T20:58:39.518Z"
}