example-data.com

carts / #96

userId
Cindy Barrows @cindy_barrows20
currency
USD
subtotal
4034.57
itemCount
15
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/96"
)
cart = res.json()
{
  "id": 96,
  "userId": 165,
  "currency": "USD",
  "subtotal": 4034.57,
  "itemCount": 15,
  "updatedAt": "2025-06-25T10:41:48.312Z",
  "createdAt": "2025-04-25T18:45:04.474Z"
}
Draftbit