example-data.com

orders / #15

userId
Autumn Bartell @autumn.bartell95
status
delivered
currency
USD
subtotal
1169.88
tax
102.36
shipping
0
total
1272.24
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/15"
)
order = res.json()
{
  "id": 15,
  "userId": 58,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 1169.88,
  "tax": 102.36,
  "shipping": 0,
  "total": 1272.24,
  "placedAt": "2026-04-20T15:50:38.249Z",
  "shippedAt": "2026-04-22T11:35:37.062Z",
  "deliveredAt": "2026-04-28T06:23:13.396Z",
  "createdAt": "2026-04-20T15:50:38.249Z",
  "updatedAt": "2026-04-28T06:23:13.396Z"
}
Draftbit