Returns Tracking: Giving Customers Visibility on the Way Back
Sarah Mitchell·5 min read

Noah Kingsley
Developer Advocate, TrackLogy

This guide is for developers who want to:
All API requests require a Bearer token from your TrackLogy API key:
Authorization: Bearer YOUR_API_KEYFind your API key under Settings → API Keys.
POST /v1/shipments{
"tracking_number": "1Z999AA10123456784",
"carrier_code": "ups",
"customer_email": "[email protected]",
"customer_name": "Jane Smith",
"order_number": "ORD-12345"
}GET /v1/shipments/{id}/eventsReturns all tracking events for a shipment in chronological order, normalised from carrier-specific formats into TrackLogy's standard event schema.
GET /v1/shipments?status=in_transit&page=1&per_page=50Filter by status, date range, store, or carrier.
TrackLogy can push tracking events to your server in real time. Register a webhook endpoint in Settings → Webhooks and select which events to receive:
shipment.in_transitshipment.out_for_deliveryshipment.deliveredshipment.exceptionEach webhook payload includes the full shipment record and the new event that triggered it.
The API allows 300 requests per minute per API key. For bulk imports, use the batch endpoint (POST /v1/shipments/batch) which accepts up to 100 shipments per request.
Sample integrations in PHP, Node.js, and Python are available in the TrackLogy developer docs at docs.tracklogy.com.
Sarah Mitchell·5 min read
Daniel Pierce·6 min read
Laura Bennett·5 min read
Ready to Upgrade Your Post-Purchase Experience?
Start your free trial. No credit card required.
Start Free Trial