Domain Connection Object


Properties
domainstringformat HOSTNAME

Domain name. Both root domains and subdomains are supported.


connectionTypestring

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

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:

nameserverInfoNameserverInfo

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


pointingInfoPointingInfo

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


subdomainInfoSubdomainInfo

Information about subdomains. Available only for subdomains.

Did this help?