example-data.com

carts / #12

userId
Alvina Koch @alvina.koch8
currency
USD
subtotal
1864.27
itemCount
9
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/12"
)
cart = res.json()
{
  "id": 12,
  "userId": 20,
  "currency": "USD",
  "subtotal": 1864.27,
  "itemCount": 9,
  "updatedAt": "2026-04-02T16:34:58.110Z",
  "createdAt": "2025-10-27T01:55:51.649Z"
}
Draftbit