example-data.com

carts / #52

userId
Mable West @mable_west
currency
USD
subtotal
2159.6
itemCount
9
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/52"
)
cart = res.json()
{
  "id": 52,
  "userId": 86,
  "currency": "USD",
  "subtotal": 2159.6,
  "itemCount": 9,
  "updatedAt": "2026-02-24T19:20:22.778Z",
  "createdAt": "2025-04-12T08:03:18.838Z"
}
Draftbit