example-data.com

orders / #146

userId
Jamal Gerhold @jamal.gerhold
status
delivered
currency
USD
subtotal
945.15
tax
82.7
shipping
0
total
1027.85
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/146"
)
order = res.json()
{
  "id": 146,
  "userId": 115,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 945.15,
  "tax": 82.7,
  "shipping": 0,
  "total": 1027.85,
  "placedAt": "2026-01-26T04:40:28.298Z",
  "shippedAt": "2026-01-28T19:11:57.675Z",
  "deliveredAt": "2026-01-31T14:25:08.646Z",
  "createdAt": "2026-01-26T04:40:28.298Z",
  "updatedAt": "2026-01-31T14:25:08.646Z"
}
Draftbit