example-data.com

orders / #409

userId
Sonia Nolan @sonia_nolan
status
delivered
currency
USD
subtotal
844.68
tax
73.91
shipping
0
total
918.59
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/409"
)
order = res.json()
{
  "id": 409,
  "userId": 208,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 844.68,
  "tax": 73.91,
  "shipping": 0,
  "total": 918.59,
  "placedAt": "2026-04-13T19:22:44.697Z",
  "shippedAt": "2026-04-15T23:50:13.772Z",
  "deliveredAt": "2026-04-17T22:26:26.279Z",
  "createdAt": "2026-04-13T19:22:44.697Z",
  "updatedAt": "2026-04-17T22:26:26.279Z"
}
Draftbit