Domain Connection Object


Properties
domainstringformat HOSTNAME

Domain name. Both root domains and subdomains are supported.


connectionTypestring
4 enum supported values:
UNKNOWNPOINTINGNAMESERVERSINTERNAL

How the domain is connected to the Wix site. Note: When you connect a domain, you can only pass POINTING or NAMESERVERS in the request. For subdomains, you aren't allowed to pass any connection type.


assignAsstring
3 enum supported values:
UNKNOWNPRIMARYREDIRECT

Whether the domain is assigned as primary domain or redirect. Read more about primary and redirected domains. Note: When you connect a domain or subdomain, you can't pass UNKNOWN in the request.


suppressNotificationsboolean

Whether the site owner receives standard email notifications from Wix about the domain connection. Returned only when set to true.

Default: false


ONE OF:


nameserverInfoobject

Information about domains connected using nameservers. Available only for {"connectionType": "NAMESERVERS"}.


pointingInfoobject

Information about domains connected by pointing. Available only for {"connectionType": "POINTING"}.


subdomainInfoobject

Information about subdomains. Available only for subdomains.

Was this helpful?
Yes
No