example-data.com

carts / #136

userId
Era Mitchell @era.mitchell21
currency
USD
subtotal
1968.72
itemCount
8
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/136"
)
cart = res.json()
{
  "id": 136,
  "userId": 243,
  "currency": "USD",
  "subtotal": 1968.72,
  "itemCount": 8,
  "updatedAt": "2025-06-08T19:45:53.596Z",
  "createdAt": "2025-01-30T20:08:11.188Z"
}
Draftbit