example-data.com

carts / #71

userId
Daren Lockman @daren_lockman67
currency
USD
subtotal
2084.06
itemCount
10
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/71"
)
cart = res.json()
{
  "id": 71,
  "userId": 116,
  "currency": "USD",
  "subtotal": 2084.06,
  "itemCount": 10,
  "updatedAt": "2025-06-10T02:28:43.774Z",
  "createdAt": "2024-06-22T04:04:31.109Z"
}
Draftbit