carts / #7
- userId
-
Alvena Emmerich @alvena_emmerich52
- currency
- USD
- subtotal
- 958.74
- itemCount
- 8
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/7" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/7"
);
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/7"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/7"
)
cart = res.json() {
"id": 7,
"userId": 8,
"currency": "USD",
"subtotal": 958.74,
"itemCount": 8,
"updatedAt": "2026-03-12T04:26:40.608Z",
"createdAt": "2025-08-11T20:25:07.380Z"
}