example-data.com

orders / #141

userId
Ryan Conroy @ryan_conroy
status
cancelled
currency
USD
subtotal
1098.14
tax
96.09
shipping
0
total
1194.23
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/141"
)
order = res.json()
{
  "id": 141,
  "userId": 73,
  "status": "cancelled",
  "currency": "USD",
  "subtotal": 1098.14,
  "tax": 96.09,
  "shipping": 0,
  "total": 1194.23,
  "placedAt": "2025-10-22T21:17:22.237Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-10-22T21:17:22.237Z",
  "updatedAt": "2025-10-22T21:17:22.237Z"
}
Draftbit