Update User Location

Purpose

To update the user location. If currently, there is no location data present for the user, a new record will be created.

Request URL

https://fsm.zoho.com/fsm/v1/users/<user_id>/location

user_id - The ID (the value of User in the Service_Resources key present in the List Users API response) of the user.

Request Method

PUT

Scope

scope=ZohoFSM.users.UPDATE

Input JSON Keys

NameDescriptionType

Longitude (mandatory)

Longitude of the location.String
Latitude (mandatory)
Latitude of the location.String

Sample Request

Copiedcurl --request PUT 'https://fsm.zoho.com/fsm/v1/users/6191XXXX7001/location' \
--header 'Authorization: Zoho-oauthtoken 1000.26xxxxxxxxxx.xxxxxxxxxx0' \
--header 'content-type: application/json' \
--data "{"field1":"value1","field2":"value2"}"

Sample Input

Copied{
    "data": [
        {
            "Longitude": "-122.01979798",
            "Latitude": "37.3292702"
        }
    ]
}

Sample Response

Copied{
    "data": [
        {
            "code": "SUCCESS",
            "details": {
                "Modified_Time": "2026-04-21T15:51:42+05:30",
                "Modified_By": {
                    "name": "Alice Cooper",
                    "id": "1439000000161001"
                },
                "Created_Time": "2022-04-27T11:54:13+05:30",
                "id": "1439000000171010",
                "Created_By": {
                    "name": "Alice Cooper",
                    "id": "1439000000161001"
                }
            },
            "message": "record updated",
            "status": "success"
        }
    ]
}