example-data.com

orders / #229

userId
Karolann Legros @karolann_legros
status
delivered
currency
USD
subtotal
709.16
tax
62.05
shipping
0
total
771.21
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/229"
)
order = res.json()
{
  "id": 229,
  "userId": 246,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 709.16,
  "tax": 62.05,
  "shipping": 0,
  "total": 771.21,
  "placedAt": "2026-03-08T05:37:09.517Z",
  "shippedAt": "2026-03-11T05:09:45.597Z",
  "deliveredAt": "2026-03-15T00:02:59.500Z",
  "createdAt": "2026-03-08T05:37:09.517Z",
  "updatedAt": "2026-03-15T00:02:59.500Z"
}
Draftbit