orders #907
- userId
-
Clyde Bernier-Gleason @clyde_bernier-gleason6
- status
- shipped
- currency
- USD
- subtotal
- 673.17
- tax
- 58.9
- shipping
- 0
- total
- 732.07
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #907
#907
#907
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/907" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/907" ); 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/907"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/907"
)
order = res.json() Response
{
"id": 907,
"userId": 143,
"status": "shipped",
"currency": "USD",
"subtotal": 673.17,
"tax": 58.9,
"shipping": 0,
"total": 732.07,
"placedAt": "2025-11-26T23:31:08.650Z",
"shippedAt": "2025-11-28T16:05:30.170Z",
"deliveredAt": null,
"createdAt": "2025-11-26T23:31:08.650Z",
"updatedAt": "2025-11-28T16:05:30.170Z"
}