Creates a connectedDomain
object and starts the domain connection process.
It may take up to 48 hours for the DNS changes to take effect.
You must pass the relevant Wix account ID in the header of the call. You may also pass a Wix site ID in the header.
You can only connect external domains using this endpoint. Domains purchased and billed through Wix can't be connected via this endpoint to a Wix site.
You can connect both root domains and subdomains to Wix sites.
The domain can be assigned as a primary domain or a redirect.
You can read more about primary and redirected domains.
If you connect a domain as "PRIMARY"
to a Wix site, the existing primary
domain automatically becomes unassigned.
Important: This call requires an account level API key and cannot be authenticated with the standard authorization header.