Skip to content

Get Ship To

Retrieve a single ship-to location by its ID from Last Mile Intelligence.

getShipTo

shipTo

ParameterTypeRequiredDefaultDescription
Ship To IDstringYes-The ID of the ship-to to retrieve
{
"id": "ship_abc123",
"customerId": "cust_xyz789",
"name": "Main Facility",
"address": {
"street": "500 Industrial Way",
"city": "Chicago",
"state": "IL",
"zip": "60607"
},
"coordinates": {
"latitude": 41.8650,
"longitude": -87.6501
},
"deliveryInstructions": "Use rear entrance",
"isActive": true
}
{
"success": false,
"error": "Ship-to not found",
"shipToId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Ship-To Not Found: Ship-to with specified ID does not exist
  • Permission Denied: API token lacks permission for this operation