carts / #45
- userId
-
Marilou Douglas @marilou.douglas
- currency
- USD
- subtotal
- 3254.06
- itemCount
- 10
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/45" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/45"
);
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/45"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/45"
)
cart = res.json() {
"id": 45,
"userId": 78,
"currency": "USD",
"subtotal": 3254.06,
"itemCount": 10,
"updatedAt": "2026-03-07T06:32:02.154Z",
"createdAt": "2025-07-10T06:37:51.966Z"
}