example-data.com

carts / #100

userId
Elvis Littel-Vandervort @elvis.littel-vandervort28
currency
USD
subtotal
2690.02
itemCount
11
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/100"
)
cart = res.json()
{
  "id": 100,
  "userId": 175,
  "currency": "USD",
  "subtotal": 2690.02,
  "itemCount": 11,
  "updatedAt": "2025-09-16T04:30:05.903Z",
  "createdAt": "2025-02-06T12:08:32.527Z"
}
Draftbit