carts / #41
- userId
-
Jewell Olson @jewell_olson2
- currency
- USD
- subtotal
- 3897.16
- itemCount
- 14
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/41" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/41"
);
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/41"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/41"
)
cart = res.json() {
"id": 41,
"userId": 68,
"currency": "USD",
"subtotal": 3897.16,
"itemCount": 14,
"updatedAt": "2025-07-01T06:25:41.280Z",
"createdAt": "2024-09-12T05:07:59.668Z"
}