orders #82
- userId
-
Joseph Steuber @joseph_steuber
- status
- shipped
- currency
- USD
- subtotal
- 2230.02
- tax
- 195.13
- shipping
- 0
- total
- 2425.15
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #82
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/82" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/82" ); 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/82"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/82"
)
order = res.json() Response
{
"id": 82,
"userId": 221,
"status": "shipped",
"currency": "USD",
"subtotal": 2230.02,
"tax": 195.13,
"shipping": 0,
"total": 2425.15,
"placedAt": "2025-12-16T11:38:21.548Z",
"shippedAt": "2025-12-18T14:23:46.898Z",
"deliveredAt": null,
"createdAt": "2025-12-16T11:38:21.548Z",
"updatedAt": "2025-12-18T14:23:46.898Z"
}