orders #709
- userId
-
Oran Torphy @oran_torphy
- status
- shipped
- currency
- USD
- subtotal
- 1101.52
- tax
- 96.38
- shipping
- 0
- total
- 1197.9
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #709
#709
#709
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/709" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/709" ); 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/709"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/709"
)
order = res.json() Response
{
"id": 709,
"userId": 189,
"status": "shipped",
"currency": "USD",
"subtotal": 1101.52,
"tax": 96.38,
"shipping": 0,
"total": 1197.9,
"placedAt": "2026-02-03T11:00:01.221Z",
"shippedAt": "2026-02-05T12:49:13.013Z",
"deliveredAt": null,
"createdAt": "2026-02-03T11:00:01.221Z",
"updatedAt": "2026-02-05T12:49:13.013Z"
}