example-data.com

carts / #35

userId
Simeon Robel @simeon_robel12
currency
USD
subtotal
2683.83
itemCount
9
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/35"
)
cart = res.json()
{
  "id": 35,
  "userId": 55,
  "currency": "USD",
  "subtotal": 2683.83,
  "itemCount": 9,
  "updatedAt": "2025-08-14T15:20:16.362Z",
  "createdAt": "2024-08-17T18:16:16.061Z"
}
Draftbit