POST /api/v2/accounts/create-child
Creates a new account under your organization. If the current account is standalone, this first converts it into an organization and creates the organization/account hierarchy. Requires ADMIN role.
The organization created by this conversion is a billing and access container,
not a buyer or storefront account. The existing account keeps its role and
resources; only a newly created SELLER account receives a new storefront.
Request
curl
Seller account
Parameters
Response
Returns the full user context scoped to the new account.Errors
400 VALIDATION_ERROR— missing required field orcustomerDomainfails the hostname pattern.401 UNAUTHORIZED— missing or invalid bearer token.403 FORBIDDEN— caller is not anADMINon the current account.
Related
Account tasks
All account operations
Delete account
Remove an account from your organization
Update account domain
Set the registered domain