example-data.com

orders / #156

userId
Telly Sanford @telly.sanford
status
confirmed
currency
USD
subtotal
2587.87
tax
226.44
shipping
0
total
2814.31
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/156"
)
order = res.json()
{
  "id": 156,
  "userId": 123,
  "status": "confirmed",
  "currency": "USD",
  "subtotal": 2587.87,
  "tax": 226.44,
  "shipping": 0,
  "total": 2814.31,
  "placedAt": "2026-05-10T01:13:29.693Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2026-05-10T01:13:29.693Z",
  "updatedAt": "2026-05-10T01:13:29.693Z"
}
Draftbit