Delete Ship To
Delete a ship-to location from Last Mile Intelligence.
Operation
Section titled “Operation”deleteShipTo
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 delete |
Response
Section titled “Response”Success
Section titled “Success”{ "success": true, "message": "Ship-to deleted successfully", "shipToId": "ship_abc123"}{ "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
- Has Dependencies: Ship-to has associated orders or tanks
- Permission Denied: API token lacks permission for this operation