orders #734
- userId
-
Hermina West @hermina.west3
- status
- shipped
- currency
- USD
- subtotal
- 482.94
- tax
- 42.26
- shipping
- 0
- total
- 525.2
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #734
#734
#734
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/734" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/734" ); 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/734"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/734"
)
order = res.json() Response
{
"id": 734,
"userId": 51,
"status": "shipped",
"currency": "USD",
"subtotal": 482.94,
"tax": 42.26,
"shipping": 0,
"total": 525.2,
"placedAt": "2025-09-04T19:30:45.471Z",
"shippedAt": "2025-09-07T09:31:58.360Z",
"deliveredAt": null,
"createdAt": "2025-09-04T19:30:45.471Z",
"updatedAt": "2025-09-07T09:31:58.360Z"
}