Get Ship To
Retrieve a single ship-to location by its ID from Last Mile Intelligence.
Operation
Section titled “Operation”getShipTo
Resource
Section titled “Resource”shipTo
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Ship To ID | string | Yes | - | The ID of the ship-to to retrieve |
Response
Section titled “Response”Success
Section titled “Success”{ "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"}Error Handling
Section titled “Error Handling”- 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