example-data.com

carts / #95

userId
Roberta Mueller-Yundt @roberta_mueller-yundt
currency
USD
subtotal
640.76
itemCount
4
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/95"
)
cart = res.json()
{
  "id": 95,
  "userId": 162,
  "currency": "USD",
  "subtotal": 640.76,
  "itemCount": 4,
  "updatedAt": "2025-11-15T18:03:07.489Z",
  "createdAt": "2024-12-04T22:20:30.569Z"
}
Draftbit