shipments / #83
- orderId
- orders/143
- carrier
- fedex
- trackingNumber
- Y2J879ETO4ZSG1VB
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#83
#83
Small
shipments/83 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/83" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/83"
);
const shipment = await res.json();import type { Shipment } from "https://example-data.com/types/shipments.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/shipments/83"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/83"
)
shipment = res.json() {
"id": 83,
"orderId": 143,
"carrier": "fedex",
"trackingNumber": "Y2J879ETO4ZSG1VB",
"status": "label_created",
"shippedAt": "2024-06-23T01:15:20.787Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2024-06-26T16:20:25.289Z",
"createdAt": "2024-06-23T01:15:20.787Z"
}