example-data.com

carts / #111

userId
Wilton Dietrich @wilton.dietrich23
currency
USD
subtotal
1958.05
itemCount
7
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/111"
)
cart = res.json()
{
  "id": 111,
  "userId": 190,
  "currency": "USD",
  "subtotal": 1958.05,
  "itemCount": 7,
  "updatedAt": "2026-04-08T18:04:52.469Z",
  "createdAt": "2025-05-02T00:28:35.234Z"
}
Draftbit