example-data.com

carts / #134

userId
Cruz Okuneva @cruz.okuneva
currency
USD
subtotal
2558.45
itemCount
11
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/134"
)
cart = res.json()
{
  "id": 134,
  "userId": 239,
  "currency": "USD",
  "subtotal": 2558.45,
  "itemCount": 11,
  "updatedAt": "2026-04-07T14:17:36.079Z",
  "createdAt": "2026-02-10T13:55:04.195Z"
}
Draftbit