Update store domains

Update information about domains bought for the store.

Access scopes

Requires the following access scope: update_store_profile

Request

A JSON array with the following fields:

FieldTypeDescription
instantSiteDomain<InstantSiteDomain>Details for the currently enabled store domain
purchasedDomainsarray of [<PurchasedDomains>]Array with objects containing details for each domain attached to store

InstantSiteDomain

FieldTypeDescription
ecwidSubdomainstringSubdomain of the default Instant Site URL.
thirdPartyVendorDomainstringCustom domain specified in the Control Panel settings. Upon updating this field primaryInstantSiteDomain gets the same value.

PurchasedDomains

FieldTypeDescription
connectedToInstantSitebooleanShows if this domain is connected to Instant Site. Available values: true, false
primaryDomainbooleanShows if this domain is the main one. Available values: true, false
autorenewbooleanShows if automatic renewal charge is enabled. Available values: true, false
Language
Click Try It! to start a request and see the response here!