example-data.com

carts / #53

userId
Pinkie Denesik @pinkie_denesik32
currency
USD
subtotal
816.1
itemCount
3
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/53"
)
cart = res.json()
{
  "id": 53,
  "userId": 88,
  "currency": "USD",
  "subtotal": 816.1,
  "itemCount": 3,
  "updatedAt": "2025-09-12T02:26:27.860Z",
  "createdAt": "2025-04-04T04:33:49.149Z"
}
Draftbit