orders #735
- userId
-
Anne Hamill @anne_hamill75
- status
- delivered
- currency
- USD
- subtotal
- 1931.34
- tax
- 168.99
- shipping
- 0
- total
- 2100.33
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #735
#735
#735
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/735" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/735" ); 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/735"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/735"
)
order = res.json() Response
{
"id": 735,
"userId": 9,
"status": "delivered",
"currency": "USD",
"subtotal": 1931.34,
"tax": 168.99,
"shipping": 0,
"total": 2100.33,
"placedAt": "2025-06-10T09:14:41.803Z",
"shippedAt": "2025-06-12T07:59:37.881Z",
"deliveredAt": "2025-06-18T20:51:38.941Z",
"createdAt": "2025-06-10T09:14:41.803Z",
"updatedAt": "2025-06-18T20:51:38.941Z"
}