orders #719
- userId
-
Alexa Rippin @alexa_rippin25
- status
- delivered
- currency
- USD
- subtotal
- 334.8
- tax
- 29.3
- shipping
- 0
- total
- 364.1
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Overview
orders / #719
#719
#719
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/719" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/719" ); 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/719"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/719"
)
order = res.json() Response
{
"id": 719,
"userId": 235,
"status": "delivered",
"currency": "USD",
"subtotal": 334.8,
"tax": 29.3,
"shipping": 0,
"total": 364.1,
"placedAt": "2025-08-16T07:41:52.589Z",
"shippedAt": "2025-08-18T05:48:38.016Z",
"deliveredAt": "2025-08-25T07:32:02.448Z",
"createdAt": "2025-08-16T07:41:52.589Z",
"updatedAt": "2025-08-25T07:32:02.448Z"
}