example-data.com

carts / #139

userId
Rupert Lebsack @rupert.lebsack
currency
USD
subtotal
1819.57
itemCount
7
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/139"
)
cart = res.json()
{
  "id": 139,
  "userId": 249,
  "currency": "USD",
  "subtotal": 1819.57,
  "itemCount": 7,
  "updatedAt": "2025-10-16T00:51:14.525Z",
  "createdAt": "2025-02-13T03:59:23.488Z"
}
Draftbit