example-data.com

carts / #70

userId
Jamal Gerhold @jamal.gerhold
currency
USD
subtotal
1718.21
itemCount
15
updatedAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/carts/70" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/carts/70"
);
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/70"
);
const cart = (await res.json()) as Cart;
import requests

res = requests.get(
    "https://example-data.com/api/v1/carts/70"
)
cart = res.json()
{
  "id": 70,
  "userId": 115,
  "currency": "USD",
  "subtotal": 1718.21,
  "itemCount": 15,
  "updatedAt": "2025-07-22T05:15:45.362Z",
  "createdAt": "2024-08-13T03:07:24.796Z"
}
Draftbit