example-data.com

orders / #348

userId
Jacynthe Sawayn @jacynthe_sawayn71
status
shipped
currency
USD
subtotal
1479.59
tax
129.46
shipping
0
total
1609.05
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/348"
)
order = res.json()
{
  "id": 348,
  "userId": 146,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 1479.59,
  "tax": 129.46,
  "shipping": 0,
  "total": 1609.05,
  "placedAt": "2026-02-06T09:41:49.806Z",
  "shippedAt": "2026-02-08T14:18:41.090Z",
  "deliveredAt": null,
  "createdAt": "2026-02-06T09:41:49.806Z",
  "updatedAt": "2026-02-08T14:18:41.090Z"
}
Draftbit