example-data.com

orders / #104

userId
Gavin Lowe @gavin_lowe
status
delivered
currency
USD
subtotal
1800.26
tax
157.52
shipping
0
total
1957.78
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/104"
)
order = res.json()
{
  "id": 104,
  "userId": 17,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 1800.26,
  "tax": 157.52,
  "shipping": 0,
  "total": 1957.78,
  "placedAt": "2026-01-16T07:31:37.816Z",
  "shippedAt": "2026-01-18T19:18:31.425Z",
  "deliveredAt": "2026-01-22T00:21:16.952Z",
  "createdAt": "2026-01-16T07:31:37.816Z",
  "updatedAt": "2026-01-22T00:21:16.952Z"
}
Draftbit