orders #746
- userId
-
Porter Dooley @porter.dooley
- status
- delivered
- currency
- USD
- subtotal
- 1760.56
- tax
- 154.05
- shipping
- 0
- total
- 1914.61
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #746
#746
#746
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/746" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/746" ); 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/746"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/746"
)
order = res.json() Response
{
"id": 746,
"userId": 135,
"status": "delivered",
"currency": "USD",
"subtotal": 1760.56,
"tax": 154.05,
"shipping": 0,
"total": 1914.61,
"placedAt": "2026-03-20T12:16:49.139Z",
"shippedAt": "2026-03-21T20:34:22.489Z",
"deliveredAt": "2026-03-27T02:23:28.340Z",
"createdAt": "2026-03-20T12:16:49.139Z",
"updatedAt": "2026-03-27T02:23:28.340Z"
}