Update Ship To
Update an existing ship-to location in Last Mile Intelligence.
Operation
Section titled “Operation”updateShipTo
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 update |
| Ship To Data | JSON | Yes | - | Fields to update |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "ship_abc123", "name": "Main Facility - Updated", "deliveryInstructions": "Use side entrance, code 1234", "updatedAt": "2024-06-21T10:30:00Z"}{ "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
- Geocoding Failed: Could not geocode the updated address
- Permission Denied: API token lacks permission for this operation