carts / #18
- userId
-
Cassidy Christiansen @cassidy_christiansen38
- currency
- USD
- subtotal
- 338.97
- itemCount
- 3
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/18" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/18"
);
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/18"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/18"
)
cart = res.json() {
"id": 18,
"userId": 33,
"currency": "USD",
"subtotal": 338.97,
"itemCount": 3,
"updatedAt": "2025-08-18T23:02:45.767Z",
"createdAt": "2025-02-27T07:29:17.068Z"
}