example-data.com

orders / #386

userId
Sonia Nolan @sonia_nolan
status
confirmed
currency
USD
subtotal
115.17
tax
10.08
shipping
0
total
125.25
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/386"
)
order = res.json()
{
  "id": 386,
  "userId": 208,
  "status": "confirmed",
  "currency": "USD",
  "subtotal": 115.17,
  "tax": 10.08,
  "shipping": 0,
  "total": 125.25,
  "placedAt": "2026-04-10T04:52:13.551Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2026-04-10T04:52:13.551Z",
  "updatedAt": "2026-04-10T04:52:13.551Z"
}
Draftbit