Shipments
Get tracking link
Search for shipments by reference field values (BOL #, PRO #, MAWB #, etc.) and return tracking information.
Usage
- Provide an array of search queries in the searches field
- Optionally filter which reference field types to search using referenceFields
- Results are returned in the same order as input searches
- If no match is found, the result contains only the original query (other fields are null)
Matching Behavior
- Searches are case-insensitive
- If multiple shipments match a query, the most recently created shipment is returned
- If referenceFields is omitted, all reference field types are searched
Example Use Cases
- Customer portal: Look up shipment status by BOL or PRO number
- EDI integration: Validate shipment references before sending updates
- Bulk status check: Query multiple shipments in a single request
Rate Limits
- Maximum 100 searches per request
- Standard API rate limits apply (see Rate Limiting documentation)
post/shipments/track
Request body
Example request
{
"searches": [
{
"query": "MAWB123456"
},
{
"query": "BOL789"
}
],
"referenceFields": [
"MASTER_AIRWAYBILL_NUMBER",
"BOL_NUMBER"
]
}Response
Track results returned successfully
Example response
{
"results": [
{
"query": "MAWB123456",
"id": "550e8400-e29b-41d4-a716-446655440000",
"key": "SHIP-001",
"friendlyId": "SHP-12345",
"status": "IN_TRANSIT",
"field": "MASTER_AIRWAYBILL_NUMBER",
"value": "MAWB123456",
"origin": "Los Angeles, CA 90210",
"destination": "New York, NY 10001",
"pickUpDate": "2025-01-15",
"deliveryDate": "2025-01-20",
"trackingUrl": "https://app.mvmnt.io/shipments/550e8400-e29b-41d4-a716-446655440000"
},
{
"query": "NOTFOUND123",
"id": null,
"key": null,
"friendlyId": null,
"status": null,
"field": null,
"value": null,
"origin": null,
"destination": null,
"pickUpDate": null,
"deliveryDate": null,
"trackingUrl": null
}
]
}