example-data.com

orders / #127

userId
Tiara Wilderman @tiara_wilderman
status
delivered
currency
USD
subtotal
1019.85
tax
89.24
shipping
0
total
1109.09
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/127"
)
order = res.json()
{
  "id": 127,
  "userId": 66,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 1019.85,
  "tax": 89.24,
  "shipping": 0,
  "total": 1109.09,
  "placedAt": "2026-04-21T14:00:05.325Z",
  "shippedAt": "2026-04-24T01:15:30.003Z",
  "deliveredAt": "2026-04-26T07:55:18.711Z",
  "createdAt": "2026-04-21T14:00:05.325Z",
  "updatedAt": "2026-04-26T07:55:18.711Z"
}
Draftbit