updateCurrentMemberSlug( )


Updates the currently logged in member's slug.

The slug is the end of a member's URL that refers to a specific logged-in member. For example, if a member's URL is https://example.com/member/{my-member-slug}, the slug is my-member-slug. The slug is case-sensitive and is generally derived from the member's nickname; otherwise, it's derived from the loginEmail.

Note: Only logged-in members can call this function without elevated permissions. To call this function as a different identity, elevated permissions are required.

Permissions
Manage Bookings Services and Settings
Manage Members
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
slugstringRequired

New slug.

Returns
Return Type:Promise<UpdateMySlugResponse>
Errors
409Already Exists

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Did this help?