Get Ship Tos
Retrieve all ship-to locations 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 | No | - | Leave empty to retrieve all ship-tos |
Response
Section titled “Response”Success
Section titled “Success”[ { "id": "ship_abc123", "customerId": "cust_xyz789", "name": "Main Facility", "city": "Chicago", "isActive": true }, { "id": "ship_def456", "customerId": "cust_xyz789", "name": "Backup Location", "city": "Evanston", "isActive": true }]{ "success": false, "error": "Failed to retrieve ship-tos"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Permission Denied: API token lacks permission for this operation