carts / #43
- userId
-
Virginie O'Connell @virginie.oconnell55
- currency
- USD
- subtotal
- 1187.08
- itemCount
- 4
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/43" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/43"
);
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/43"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/43"
)
cart = res.json() {
"id": 43,
"userId": 70,
"currency": "USD",
"subtotal": 1187.08,
"itemCount": 4,
"updatedAt": "2025-08-16T21:19:43.613Z",
"createdAt": "2025-03-30T16:47:15.834Z"
}