Update domains

Update information about domains bought for the store.

Headers

NameTypeDescription
AuthorizationstringoAuth token with mandatory Bearer before it. Example: Bearer e***s0, where e***s0 should be replaced with your oAuth token.

📘

Access scope required: 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
Authorization
Query