orders #671
- userId
-
Stephan Heller @stephan.heller
- status
- shipped
- currency
- USD
- subtotal
- 2250.62
- tax
- 196.93
- shipping
- 0
- total
- 2447.55
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #671
#671
#671
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/671" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/671" ); const order = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/orders.d.ts https://example-data.com/types/orders.d.ts
import type { Order } from "./types/orders";
const res = await fetch(
"https://example-data.com/api/v1/orders/671"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/671"
)
order = res.json() Response
{
"id": 671,
"userId": 82,
"status": "shipped",
"currency": "USD",
"subtotal": 2250.62,
"tax": 196.93,
"shipping": 0,
"total": 2447.55,
"placedAt": "2026-05-17T06:31:16.023Z",
"shippedAt": "2026-05-20T02:13:12.420Z",
"deliveredAt": null,
"createdAt": "2026-05-17T06:31:16.023Z",
"updatedAt": "2026-05-20T02:13:12.420Z"
}