example-data.com

orders / #208

userId
Ken Towne @ken.towne
status
delivered
currency
USD
subtotal
3728.27
tax
326.22
shipping
0
total
4054.49
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/208"
)
order = res.json()
{
  "id": 208,
  "userId": 248,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 3728.27,
  "tax": 326.22,
  "shipping": 0,
  "total": 4054.49,
  "placedAt": "2025-12-27T18:06:47.883Z",
  "shippedAt": "2025-12-30T04:39:03.776Z",
  "deliveredAt": "2026-01-02T10:35:28.627Z",
  "createdAt": "2025-12-27T18:06:47.883Z",
  "updatedAt": "2026-01-02T10:35:28.627Z"
}
Draftbit