example-data.com

orders / #112

userId
Samson Stroman @samson_stroman
status
delivered
currency
USD
subtotal
575.27
tax
50.34
shipping
0
total
625.61
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/112"
)
order = res.json()
{
  "id": 112,
  "userId": 52,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 575.27,
  "tax": 50.34,
  "shipping": 0,
  "total": 625.61,
  "placedAt": "2026-01-23T09:52:45.743Z",
  "shippedAt": "2026-01-24T21:03:38.947Z",
  "deliveredAt": "2026-01-29T20:05:16.966Z",
  "createdAt": "2026-01-23T09:52:45.743Z",
  "updatedAt": "2026-01-29T20:05:16.966Z"
}
Draftbit