Partially update point of interest

Partial update. Fields you omit are left unchanged; a field sent as explicit null is cleared. Send nested objects in full. Returns the updated point of interest.

  • name, type and location can't be set to null (400).
  • Built-in points of interest can't be updated.
  • A point of interest that doesn't exist in the account, or is built-in, returns 400 (not 404).
Path Params
string
required

ID of the account. An account you don't have access to returns 403.

string
required

ID of the point of interest.

Body Params

Fields to update.

Request data for a partial update of a point of interest.

string
length ≤ 40
^[^\$\%\^\*\{\}\@]*$

Name of the point of interest. Can't contain $ % ^ * { } @. Can't be set to null.

string | null

Description of the point of interest.

string | null

Your own reference ID for the point of interest.

string
enum

Type of the point of interest. Can't be set to null.

location
object

Location of the point of interest. Can't be set to null.

tags
array of strings | null, unique

Tags. Up to 15 tags of up to 30 characters each.

tags
contactInfo
object

Contact details for the point of interest.

operationalHours
object

Weekly opening hours. Periods within a day must not overlap. Omit a day, or send an empty array, when the location is closed that day.

Responses

401

Missing, invalid or expired access token. Returned by the gateway with an empty body.

403

The token lacks the required permission, the account is not accessible to the caller, or the tenant is inactive. Returned by the gateway with an empty body.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json