example-data.com

orders / #177

userId
Ismael Ward @ismael_ward
status
confirmed
currency
USD
subtotal
1960.29
tax
171.53
shipping
0
total
2131.82
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/orders/177" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/orders/177"
);
const order = await res.json();
import type { Order } from "https://example-data.com/types/orders.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/orders/177"
);
const order = (await res.json()) as Order;
import requests

res = requests.get(
    "https://example-data.com/api/v1/orders/177"
)
order = res.json()
{
  "id": 177,
  "userId": 178,
  "status": "confirmed",
  "currency": "USD",
  "subtotal": 1960.29,
  "tax": 171.53,
  "shipping": 0,
  "total": 2131.82,
  "placedAt": "2025-09-26T05:52:50.255Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-09-26T05:52:50.255Z",
  "updatedAt": "2025-09-26T05:52:50.255Z"
}
Draftbit