example-data.com

carts / #112

userId
Lavonne Schmidt @lavonne.schmidt95
currency
USD
subtotal
1070.06
itemCount
11
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/112"
)
cart = res.json()
{
  "id": 112,
  "userId": 192,
  "currency": "USD",
  "subtotal": 1070.06,
  "itemCount": 11,
  "updatedAt": "2025-07-17T08:09:56.067Z",
  "createdAt": "2025-05-30T15:42:10.894Z"
}
Draftbit