orders #870
- userId
-
Joseph Nitzsche @joseph_nitzsche
- status
- shipped
- currency
- USD
- subtotal
- 3215.76
- tax
- 281.38
- shipping
- 0
- total
- 3497.14
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #870
#870
#870
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/870" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/870" ); 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/870"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/870"
)
order = res.json() Response
{
"id": 870,
"userId": 196,
"status": "shipped",
"currency": "USD",
"subtotal": 3215.76,
"tax": 281.38,
"shipping": 0,
"total": 3497.14,
"placedAt": "2026-04-14T05:39:49.100Z",
"shippedAt": "2026-04-15T15:54:18.278Z",
"deliveredAt": null,
"createdAt": "2026-04-14T05:39:49.100Z",
"updatedAt": "2026-04-15T15:54:18.278Z"
}