orders #737
- userId
-
Hermina West @hermina.west3
- status
- delivered
- currency
- USD
- subtotal
- 1338.26
- tax
- 117.1
- shipping
- 0
- total
- 1455.36
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #737
#737
#737
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/737" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/737" ); 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/737"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/737"
)
order = res.json() Response
{
"id": 737,
"userId": 51,
"status": "delivered",
"currency": "USD",
"subtotal": 1338.26,
"tax": 117.1,
"shipping": 0,
"total": 1455.36,
"placedAt": "2026-02-19T21:53:47.097Z",
"shippedAt": "2026-02-22T19:02:04.108Z",
"deliveredAt": "2026-03-01T16:29:30.151Z",
"createdAt": "2026-02-19T21:53:47.097Z",
"updatedAt": "2026-03-01T16:29:30.151Z"
}