Updates the location for the specified location ID.
put
/primeapi/restapi/v16.2/location
Request
Supported Media Types
- application/json
Body Parameter
Location to be updated.
Root Schema : ApiEntityLocation
Type:
object- addressLine1
-
Type:
stringAllowed Values:[ "Length[1-200]" ]The first line of the address of a location. This might be the building number and street address. - addressLine2
-
Type:
stringAllowed Values:[ "Length[1-200]" ]The second line of the address of a location. This might be a neighborhood or town. - cityName
-
Type:
stringAllowed Values:[ "Length[1-200]" ]The city name for a location. - countryCode
-
Type:
stringAllowed Values:[ "Length[1-3]" ]The country for a location. The value is expressed as a three letter code. - description
-
Type:
stringAdditional details about the location. - latitude
-
Type:
number(double)The geographical coordinate for the latitude of the location. The default format for latitude is decimal degrees format, but the format you need to use will depend on your geolocation service. - locationCode
-
Type:
stringAllowed Values:[ "Length[1-60]" ]The unique identifier for the location. - locationId
-
Type:
integer(int64)The unique identifier for the location. - locationName
-
Type:
stringAllowed Values:[ "Length[1-255]" ]A name for the location that your users will understand and recognize. - longitude
-
Type:
number(double)The geographical coordinate for the longitude of the location. The default format for longitude is decimal degrees format, but the format you need to use will depend on your geolocation service. - postalCode
-
Type:
stringAllowed Values:[ "Length[1-20]" ]The postal code, post code, or zip code of a location. - stateCode
-
Type:
stringAllowed Values:[ "Length[1-2]" ]A unique identifier for the state or province. - stateName
-
Type:
stringAllowed Values:[ "Length[1-200]" ]The state, region, or province of a location. - workspaceId
-
Type:
integer(int64)
Response
Supported Media Types
- application/json
Default Response
successful operation