example-data.com

carts / #17

userId
Kariane Schmitt @kariane.schmitt97
currency
USD
subtotal
3769.07
itemCount
12
updatedAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/carts/17"
)
cart = res.json()
{
  "id": 17,
  "userId": 32,
  "currency": "USD",
  "subtotal": 3769.07,
  "itemCount": 12,
  "updatedAt": "2025-07-16T12:37:09.967Z",
  "createdAt": "2024-11-19T00:05:28.916Z"
}
Draftbit