carts / #30
- userId
-
Green Kozey @green_kozey22
- currency
- USD
- subtotal
- 262.7
- itemCount
- 2
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/30" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/30"
);
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/30"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/30"
)
cart = res.json() {
"id": 30,
"userId": 49,
"currency": "USD",
"subtotal": 262.7,
"itemCount": 2,
"updatedAt": "2026-04-29T02:25:49.449Z",
"createdAt": "2025-08-19T13:50:10.764Z"
}