orders #775
- userId
-
Aaron Fritsch @aaron.fritsch
- status
- delivered
- currency
- USD
- subtotal
- 4422.92
- tax
- 387.01
- shipping
- 0
- total
- 4809.93
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #775
#775
#775
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/775" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/775" ); 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/775"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/775"
)
order = res.json() Response
{
"id": 775,
"userId": 124,
"status": "delivered",
"currency": "USD",
"subtotal": 4422.92,
"tax": 387.01,
"shipping": 0,
"total": 4809.93,
"placedAt": "2026-02-17T14:46:01.795Z",
"shippedAt": "2026-02-20T03:24:59.151Z",
"deliveredAt": "2026-02-25T19:39:09.434Z",
"createdAt": "2026-02-17T14:46:01.795Z",
"updatedAt": "2026-02-25T19:39:09.434Z"
}