orders #853
- userId
-
Guy Christiansen @guy.christiansen40
- status
- delivered
- currency
- USD
- subtotal
- 1906.44
- tax
- 166.81
- shipping
- 0
- total
- 2073.25
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #853
#853
#853
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/853" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/853" ); 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/853"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/853"
)
order = res.json() Response
{
"id": 853,
"userId": 21,
"status": "delivered",
"currency": "USD",
"subtotal": 1906.44,
"tax": 166.81,
"shipping": 0,
"total": 2073.25,
"placedAt": "2025-08-07T13:19:47.415Z",
"shippedAt": "2025-08-09T03:44:16.234Z",
"deliveredAt": "2025-08-14T23:01:01.798Z",
"createdAt": "2025-08-07T13:19:47.415Z",
"updatedAt": "2025-08-14T23:01:01.798Z"
}