example-data.com

carts / #113

userId
Selina Flatley @selina_flatley
currency
USD
subtotal
3350.59
itemCount
15
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/113"
)
cart = res.json()
{
  "id": 113,
  "userId": 193,
  "currency": "USD",
  "subtotal": 3350.59,
  "itemCount": 15,
  "updatedAt": "2026-02-07T20:35:16.956Z",
  "createdAt": "2025-06-30T11:39:22.575Z"
}
Draftbit