example-data.com

orders / #454

userId
Charlene Kuhic @charlene_kuhic
status
delivered
currency
USD
subtotal
463.89
tax
40.59
shipping
0
total
504.48
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/454"
)
order = res.json()
{
  "id": 454,
  "userId": 244,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 463.89,
  "tax": 40.59,
  "shipping": 0,
  "total": 504.48,
  "placedAt": "2026-02-19T16:29:11.203Z",
  "shippedAt": "2026-02-22T08:11:15.520Z",
  "deliveredAt": "2026-02-28T08:22:01.297Z",
  "createdAt": "2026-02-19T16:29:11.203Z",
  "updatedAt": "2026-02-28T08:22:01.297Z"
}
Draftbit