orders #664
- userId
-
Dwight Dicki-Medhurst @dwight.dicki-medhurst69
- status
- shipped
- currency
- USD
- subtotal
- 1488.29
- tax
- 130.23
- shipping
- 0
- total
- 1618.52
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #664
#664
#664
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/664" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/664" ); 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/664"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/664"
)
order = res.json() Response
{
"id": 664,
"userId": 35,
"status": "shipped",
"currency": "USD",
"subtotal": 1488.29,
"tax": 130.23,
"shipping": 0,
"total": 1618.52,
"placedAt": "2025-07-26T06:54:54.601Z",
"shippedAt": "2025-07-29T05:16:36.083Z",
"deliveredAt": null,
"createdAt": "2025-07-26T06:54:54.601Z",
"updatedAt": "2025-07-29T05:16:36.083Z"
}