This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates a location.
The updateLocation()
function returns a Promise that resolves to the updated location.
Each time a location is updated, its revision
increments by 1. The current revision
must be passed when updating the comment. This ensures you're working with the latest location and prevents unintended overwrites.
Notes:
location
parameter.location
parameter will be overwritten to null
.You can only call this method when authenticated as a Wix app or Wix user identity.
Location ID.
Updated location details.