orders #495
- userId
-
Webster Skiles @webster_skiles39
- status
- shipped
- currency
- USD
- subtotal
- 1069.49
- tax
- 93.58
- shipping
- 0
- total
- 1163.07
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #495
#495
#495
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/495" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/495" ); 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/495"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/495"
)
order = res.json() Response
{
"id": 495,
"userId": 5,
"status": "shipped",
"currency": "USD",
"subtotal": 1069.49,
"tax": 93.58,
"shipping": 0,
"total": 1163.07,
"placedAt": "2025-09-17T10:43:48.767Z",
"shippedAt": "2025-09-19T08:55:21.379Z",
"deliveredAt": null,
"createdAt": "2025-09-17T10:43:48.767Z",
"updatedAt": "2025-09-19T08:55:21.379Z"
}