PUT /push/v1/location/{locationId}
Updates an existing location.
Name | Type | Description | |
---|---|---|---|
locationId | string | Required | ID of the location to update |
Name | Type | Description | |
---|---|---|---|
name | string | Required | Name of the location |
location | string | Text defining the location; usually a phyiscal or mailing address | |
description | string | Description or notes for the location | |
center | object | Center point of the location circle | |
center.latitude | decimal | Geographic latitude of the location center | |
center.longitude | decimal | Geographic longitude of the location center | |
radius | integer | Radius of the location circle in meters | |
attributes | array | List of attributes for the location | |
attributes.attribute | string | Name of the attribute | |
attributes.value | string | Value for the attribute | |
locationType | integer | Indicates whether this is a geofence or beacon location. If not specified, it defaults to geofence. To specify, use 1 for geofence or 3 for beacon. | |
proximityUuid | string | Unique identifier used to distinguish one beacon from another. Required if creating a beacon location. This number is found on the beacon hardware. Enter the UUID exactly as listed. | |
major | integer | Specifies a particular beacon within a group. Required if creating a beacon location. This number is found on the beacon hardware. Enter this number exactly as listed. | |
minor | integer | Groups a related set of beacons. Required if creating a beacon location. This number is found on the beacon hardware. Enter this number exactly as listed. |
Example Request
Example Response