carts / #126
- userId
-
Matt Kuhic @matt_kuhic57
- currency
- USD
- subtotal
- 2611.13
- itemCount
- 13
- updatedAt
- createdAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/carts/126" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/carts/126"
);
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/126"
);
const cart = (await res.json()) as Cart;import requests
res = requests.get(
"https://example-data.com/api/v1/carts/126"
)
cart = res.json() {
"id": 126,
"userId": 226,
"currency": "USD",
"subtotal": 2611.13,
"itemCount": 13,
"updatedAt": "2025-11-30T09:06:47.317Z",
"createdAt": "2025-07-27T07:03:48.809Z"
}