createAccount( )


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 new Wix account, and creates a new Wix user as the account owner. The newly created account is a child account of the account used to create it, making that account its parent.

Important: This call requires an account level API key and cannot be authenticated with the standard authorization header. API keys are currently available to selected beta users only.

Method Declaration
Copy
Method Parameters
userUserRequired

The user to create under the new account, with the roles defined in roles.


optionsCreateAccountOptions

Filter options.

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