Skip to content

Update Service Area

Update an existing service area in Last Mile Intelligence.

updateServiceArea

serviceArea

ParameterTypeRequiredDefaultDescription
Service Area IDstringYes-The ID of the area to update
Service Area DataJSONYes-Fields to update
{
"id": "sa_chicago",
"name": "Chicago Metro - Expanded",
"description": "Greater Chicago metropolitan area with expanded coverage",
"updatedAt": "2024-06-21T10:30:00Z"
}
{
"success": false,
"error": "Service area not found",
"serviceAreaId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Service Area Not Found: Area with specified ID does not exist
  • Invalid Polygon: GeoJSON polygon format is invalid
  • Permission Denied: API token lacks permission for this operation