example-data.com

carts / #114

userId
Joseph Nitzsche @joseph_nitzsche
currency
USD
subtotal
143.69
itemCount
1
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/114"
)
cart = res.json()
{
  "id": 114,
  "userId": 196,
  "currency": "USD",
  "subtotal": 143.69,
  "itemCount": 1,
  "updatedAt": "2025-06-16T13:41:09.713Z",
  "createdAt": "2024-06-22T13:18:52.595Z"
}
Draftbit