orders #58
- userId
-
Jewell Olson @jewell_olson2
- status
- delivered
- currency
- USD
- subtotal
- 754.47
- tax
- 66.02
- shipping
- 0
- total
- 820.49
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #58
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/58" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/58" ); 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/58"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/58"
)
order = res.json() Response
{
"id": 58,
"userId": 68,
"status": "delivered",
"currency": "USD",
"subtotal": 754.47,
"tax": 66.02,
"shipping": 0,
"total": 820.49,
"placedAt": "2026-01-16T17:05:24.753Z",
"shippedAt": "2026-01-18T18:16:53.111Z",
"deliveredAt": "2026-01-25T19:25:25.360Z",
"createdAt": "2026-01-16T17:05:24.753Z",
"updatedAt": "2026-01-25T19:25:25.360Z"
}