updateBusinessProfile( )


Developer Preview

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

Updates a site's business profile.

Authentication

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

Permissions
Manage Business Profile
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
function updateBusinessProfile(
  businessProfile: BusinessProfileData,
): Promise<void>;
Method Parameters
businessProfileBusinessProfileDataRequired

The site's business profile.

JavaScript
import { siteProperties } from "@wix/business-tools"; async function updateBusinessProfile(businessProfile) { const response = await siteProperties.updateBusinessProfile(businessProfile); }
Errors
401Unauthenticated

There is 1 error with this status code.

403Permission Denied

There is 1 error with this status code.

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

Did this help?