Quickstart
This walkthrough covers the standard integration path for a merchant or logistics partner.
1. Validate the destination
POST
https://api.aquiline-tracking.com/v3/addresses/validateUse this endpoint to normalize address fields and confirm deliverability before the order moves into fulfillment.
2. Request a quote
POST
https://api.aquiline-tracking.com/v3/rates/quoteUse this endpoint with origin, destination, and parcel dimensions to retrieve service options, pricing, and estimated delivery windows.
3. Create the shipment
POST
https://api.aquiline-tracking.com/v3/shipmentsUse this endpoint with the selected service level and an Idempotency-Key header to create the shipment safely even if the client retries the request.
4. Track operational status
GET
https://api.aquiline-tracking.com/v3/tracking/{trackingNumber}Use this endpoint to retrieve the current shipment state and event timeline.
5. Subscribe to webhooks
POST
https://api.aquiline-tracking.com/v3/webhooks/subscriptionsUse this endpoint to receive shipment lifecycle events such as:
shipment.createdshipment.out_for_deliveryshipment.deliveredshipment.exception
Recommended implementation pattern
- Validate addresses before quoting
- Quote before shipment creation
- Store both
shipmentIdandtrackingNumber - Process webhooks as the primary real-time feed
- Use polling as a fallback for reconciliation and support tooling