example-data.com

orders / #129

userId
Daren Lockman @daren_lockman67
status
refunded
currency
USD
subtotal
682.08
tax
59.68
shipping
0
total
741.76
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/129"
)
order = res.json()
{
  "id": 129,
  "userId": 116,
  "status": "refunded",
  "currency": "USD",
  "subtotal": 682.08,
  "tax": 59.68,
  "shipping": 0,
  "total": 741.76,
  "placedAt": "2025-10-28T08:25:52.494Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-10-28T08:25:52.494Z",
  "updatedAt": "2025-10-28T08:25:52.494Z"
}
Draftbit