post https://app.ecwid.com/api/v3//domains
Update information about domains bought for the store.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | oAuth 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:
Field | Type | Description |
---|---|---|
instantSiteDomain | <InstantSiteDomain> | Details for the currently enabled store domain |
purchasedDomains | array of [<PurchasedDomains>] | Array with objects containing details for each domain attached to store |
InstantSiteDomain
Field | Type | Description |
---|---|---|
ecwidSubdomain | string | Subdomain of the default Instant Site URL. |
thirdPartyVendorDomain | string | Custom domain specified in the Control Panel settings. Upon updating this field primaryInstantSiteDomain gets the same value. |
PurchasedDomains
Field | Type | Description |
---|---|---|
connectedToInstantSite | boolean | Shows if this domain is connected to Instant Site. Available values: true , false |
primaryDomain | boolean | Shows if this domain is the main one. Available values: true , false |
autorenew | boolean | Shows if automatic renewal charge is enabled. Available values: true , false |