example-data.com

orders / #433

userId
Niko Wisozk @niko_wisozk
status
delivered
currency
USD
subtotal
552.44
tax
48.34
shipping
0
total
600.78
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/orders/433" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/orders/433"
);
const order = await res.json();
import type { Order } from "https://example-data.com/types/orders.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/orders/433"
);
const order = (await res.json()) as Order;
import requests

res = requests.get(
    "https://example-data.com/api/v1/orders/433"
)
order = res.json()
{
  "id": 433,
  "userId": 56,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 552.44,
  "tax": 48.34,
  "shipping": 0,
  "total": 600.78,
  "placedAt": "2025-06-09T02:51:39.815Z",
  "shippedAt": "2025-06-10T10:21:09.687Z",
  "deliveredAt": "2025-06-15T18:38:35.234Z",
  "createdAt": "2025-06-09T02:51:39.815Z",
  "updatedAt": "2025-06-15T18:38:35.234Z"
}
Draftbit