example-data.com

orders / #186

userId
Whitney O'Reilly @whitney.oreilly
status
delivered
currency
USD
subtotal
727.3
tax
63.64
shipping
0
total
790.94
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/186"
)
order = res.json()
{
  "id": 186,
  "userId": 99,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 727.3,
  "tax": 63.64,
  "shipping": 0,
  "total": 790.94,
  "placedAt": "2026-02-28T10:44:39.952Z",
  "shippedAt": "2026-03-03T03:02:40.808Z",
  "deliveredAt": "2026-03-09T15:33:33.399Z",
  "createdAt": "2026-02-28T10:44:39.952Z",
  "updatedAt": "2026-03-09T15:33:33.399Z"
}
Draftbit