The Wix Accounts API enables you to create Wix accounts.
An account is a collection of Wix assets, such as sites, domains, and premium plans. Note that Wix assets belong to accounts and not to Wix users. Accounts are managed by one or more registered Wix users, referred to as team members.
Accounts allow companies to:
When an account owner creates a new account using the Accounts API, the new account is considered a child account of the creating account, referred to as the parent account. For example, a website reseller might create a child account when funnelling customers directly into Wix’s site creation flow, to build a site for themselves, while retaining a relationship to the reseller's account.
To use the Accounts API, install the @wix/user-management
package using npm or Yarn:
or
Then import { accounts }
from @wix/user-management
: