shipments / #143
- orderId
- orders/263
- carrier
- dhl
- trackingNumber
- TCURUP86K49XZT8J
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#143
#143
Small
shipments/143 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/143" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/143"
);
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/143"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/143"
)
shipment = res.json() {
"id": 143,
"orderId": 263,
"carrier": "dhl",
"trackingNumber": "TCURUP86K49XZT8J",
"status": "label_created",
"shippedAt": "2024-12-17T15:49:15.108Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2024-12-23T17:36:25.653Z",
"createdAt": "2024-12-17T15:49:15.108Z"
}