carts / #46
- userId
-
Amya Powlowski @amya_powlowski32
- currency
- USD
- subtotal
- 1242.47
- itemCount
- 5
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/46" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/46"
);
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/46"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/46"
)
cart = res.json() {
"id": 46,
"userId": 80,
"currency": "USD",
"subtotal": 1242.47,
"itemCount": 5,
"updatedAt": "2026-05-18T05:32:35.868Z",
"createdAt": "2025-12-26T12:09:02.206Z"
}