carts / #103
- userId
-
Lamont Schroeder @lamont.schroeder89
- currency
- USD
- subtotal
- 344.83
- itemCount
- 1
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/103" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/103"
);
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/103"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/103"
)
cart = res.json() {
"id": 103,
"userId": 180,
"currency": "USD",
"subtotal": 344.83,
"itemCount": 1,
"updatedAt": "2026-03-03T09:33:38.368Z",
"createdAt": "2026-01-07T03:41:57.170Z"
}