carts / #27
- userId
-
Della Labadie @della_labadie
- currency
- USD
- subtotal
- 3219.96
- itemCount
- 8
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/27" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/27"
);
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/27"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/27"
)
cart = res.json() {
"id": 27,
"userId": 46,
"currency": "USD",
"subtotal": 3219.96,
"itemCount": 8,
"updatedAt": "2025-10-29T10:52:48.478Z",
"createdAt": "2025-06-14T09:17:03.995Z"
}