orders #806
- userId
-
Lavonne Schmidt @lavonne.schmidt95
- status
- delivered
- currency
- USD
- subtotal
- 2507.31
- tax
- 219.39
- shipping
- 0
- total
- 2726.7
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #806
#806
#806
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/806" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/806" ); 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/806"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/806"
)
order = res.json() Response
{
"id": 806,
"userId": 192,
"status": "delivered",
"currency": "USD",
"subtotal": 2507.31,
"tax": 219.39,
"shipping": 0,
"total": 2726.7,
"placedAt": "2025-07-29T11:13:24.489Z",
"shippedAt": "2025-07-30T17:50:06.939Z",
"deliveredAt": "2025-08-04T20:59:56.637Z",
"createdAt": "2025-07-29T11:13:24.489Z",
"updatedAt": "2025-08-04T20:59:56.637Z"
}