addTypeToLocation( )


Adds a location type to the specified location.

Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the location where the type will be added.


locationTypeLocationTypeRequired

Location type to add.

Returns
Return Type:Promise<AddTypeToLocationResponse>
Errors
400Invalid Argument

There is 1 error with this status code.

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

Did this help?