example-data.com

carts / #115

userId
Ricky Langosh @ricky.langosh66
currency
USD
subtotal
977.79
itemCount
5
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/115"
)
cart = res.json()
{
  "id": 115,
  "userId": 198,
  "currency": "USD",
  "subtotal": 977.79,
  "itemCount": 5,
  "updatedAt": "2026-03-01T08:18:41.217Z",
  "createdAt": "2025-10-28T06:36:27.227Z"
}
Draftbit