orders #594
- userId
-
Norbert Jacobi @norbert_jacobi92
- status
- delivered
- currency
- USD
- subtotal
- 511.98
- tax
- 44.8
- shipping
- 0
- total
- 556.78
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #594
#594
#594
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/594" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/594" ); 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/594"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/594"
)
order = res.json() Response
{
"id": 594,
"userId": 101,
"status": "delivered",
"currency": "USD",
"subtotal": 511.98,
"tax": 44.8,
"shipping": 0,
"total": 556.78,
"placedAt": "2026-03-12T16:19:16.929Z",
"shippedAt": "2026-03-13T17:05:20.319Z",
"deliveredAt": "2026-03-17T05:03:59.386Z",
"createdAt": "2026-03-12T16:19:16.929Z",
"updatedAt": "2026-03-17T05:03:59.386Z"
}