carts #93
- userId
-
Marlin Goldner @marlin_goldner6
- currency
- USD
- subtotal
- 1923.66
- itemCount
- 8
- updatedAt
- createdAt
Overview
carts / #93
Request
curl example
curl -sS \ "https://example-data.com/api/v1/carts/93" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/carts/93" ); const cart = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/carts.d.ts https://example-data.com/types/carts.d.ts
import type { Cart } from "./types/carts";
const res = await fetch(
"https://example-data.com/api/v1/carts/93"
);
const cart = (await res.json()) as Cart; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/carts/93"
)
cart = res.json() Response
{
"id": 93,
"userId": 160,
"currency": "USD",
"subtotal": 1923.66,
"itemCount": 8,
"updatedAt": "2026-02-18T14:33:35.374Z",
"createdAt": "2025-05-24T08:20:05.658Z"
}