createPortfolioSettings( )


Developer Preview

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

Creates a site's portfolio settings.

Note:

This method is intended for creating portfolio settings. If settings already exist, the request will return an error. To update existing settings, call Update Portfolio Settings.

Authentication

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

Permissions
Manage Portfolio
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
portfolioSettingsPortfolioSettingsRequired

The portfolio settings to create.

Returns
Return Type:Promise<PortfolioSettings>
Did this help?