example-data.com

orders / #164

userId
Hermina West @hermina.west3
status
pending
currency
USD
subtotal
3046.93
tax
266.61
shipping
0
total
3313.54
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/orders/164" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/orders/164"
);
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/164"
);
const order = (await res.json()) as Order;
import requests

res = requests.get(
    "https://example-data.com/api/v1/orders/164"
)
order = res.json()
{
  "id": 164,
  "userId": 51,
  "status": "pending",
  "currency": "USD",
  "subtotal": 3046.93,
  "tax": 266.61,
  "shipping": 0,
  "total": 3313.54,
  "placedAt": "2025-08-06T11:37:20.657Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-08-06T11:37:20.657Z",
  "updatedAt": "2025-08-06T11:37:20.657Z"
}
Draftbit