orders #829
- userId
-
Darian Schaden @darian_schaden36
- status
- refunded
- currency
- USD
- subtotal
- 69.45
- tax
- 6.08
- shipping
- 9.99
- total
- 85.52
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #829
#829
#829
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/829" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/829" ); 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/829"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/829"
)
order = res.json() Response
{
"id": 829,
"userId": 53,
"status": "refunded",
"currency": "USD",
"subtotal": 69.45,
"tax": 6.08,
"shipping": 9.99,
"total": 85.52,
"placedAt": "2025-06-28T21:36:38.153Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2025-06-28T21:36:38.153Z",
"updatedAt": "2025-06-28T21:36:38.153Z"
}