carts / #138
- userId
-
Santa Corwin @santa.corwin59
- currency
- USD
- subtotal
- 193.1
- itemCount
- 1
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/138" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/138"
);
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/138"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/138"
)
cart = res.json() {
"id": 138,
"userId": 247,
"currency": "USD",
"subtotal": 193.1,
"itemCount": 1,
"updatedAt": "2025-08-16T17:46:39.238Z",
"createdAt": "2025-08-05T01:24:37.039Z"
}