Domain Assignment Object


A domain assignment connects a domain to a Wix site, either as the site's primary domain or as a redirect to the site's primary domain. A domain can be assigned to 1 site at a time, and each site has a single primary domain.

Properties
createdDatestringRead-onlyformat date-time

Date and time the domain assignment was created.


domainstringformat HOSTNAME

Domain name, including the top-level domain. For example, mystunningsite.com.


idstringRead-onlyformat HOSTNAME

Domain assignment ID. Identical to domain.


siteInfoSiteInfo

Site the domain is assigned to, and whether the domain is the site's primary domain or a redirect.


updatedDatestringRead-onlyformat date-time

Date and time the domain assignment was last updated.

Did this help?