example-data.com

carts / #82

userId
Kathleen Lynch @kathleen_lynch1
currency
USD
subtotal
1001.67
itemCount
9
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/82"
)
cart = res.json()
{
  "id": 82,
  "userId": 139,
  "currency": "USD",
  "subtotal": 1001.67,
  "itemCount": 9,
  "updatedAt": "2025-06-10T17:02:16.476Z",
  "createdAt": "2024-09-24T11:24:20.065Z"
}
Draftbit