PATCH

Add Type To Location


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds a location type to the specified location.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Locations
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/locations/v1/locations/{id}/add-type

Path Params
idstringRequired

ID of the location where the type will be added.

Body Params
locationTypestringRequired

Location type to add.

Response Object
locationLocation

Updated location.

Errors
400Invalid Argument

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?