Search store domains

Get information about all store domains bought for Ecwid Instant Site.

Request and response example

Request:

curl --location 'https://app.ecwid.com/api/v3/1003/domains' \
--header 'Authorization: Bearer secret_ab***cd'

Response:

{
    "instantSiteDomain": {
        "primaryInstantSiteDomain": "1003",
        "ecwidSubdomain": "1003",
        "instantSiteIpAddress": "101.202.303.404",
        "instantSiteUrl": "https://1003.company.site"
    },
    "purchasedDomains": []
}

Access scopes

Requires the following access scopes: read_store_profile, buy_domains

Path params

ParamTypeDescription
storeIdnumberEcwid store ID.

Query params

All query params are optional.

ParamTypeDescription
responseFieldsstringLimit JSON response by specific fields. If specified, all missing fields will be removed from the response body.
Example: ?responseFields=instantSiteDomain(instantSiteIpAddress)

Example of using responseFields param:

curl --location 'https://app.ecwid.com/api/v3/1003/domains?responseFields=instantSiteDomain(instantSiteIpAddress)' \
--header 'Authorization: Bearer secret_ab***cd'
{
    "instantSiteDomain": {
        "instantSiteIpAddress": "18.213.217.106"
    }
}

Headers

The Authorization header with a secret access token is required.

HeaderFormatDescription
AuthorizationBearer secret_ab***cdAccess token of the application.

Response

A JSON array with the following fields:

FieldTypeDescription
instantSiteDomainObject instantSiteDomainDetails for the currently enabled store domain.
purchasedDomainsArray purchasedDomainsList with details for each domain bought for the store.

instantSiteDomain

FieldTypeDescription
primaryInstantSiteDomainstringMain domain for the Instant Site, based on the ecwidSubdomain
primaryInstantSiteDomainStatusstringPossible values: connected if the primaryInstantSiteDomain is connected to the Instant Site and works already, pending if the primaryInstantSiteDomain is still being configured
ecwidSubdomainstringSubdomain of the default Instant Site URL.
instantSiteIpAddressstringIP address used to connect a custom domain with the Instant Site. It's also available in the Control Panel on the #website-overview:section=mobile-domain page.
instantSiteUrlstringCurrent Instant Site URL, based on the ecwidSubdomain
thirdPartyVendorDomainstringCustom domain specified in the Control Panel settings. Has the same value as the customDomain in the Instant Site Info

purchasedDomains

FieldTypeDescription
idnumberInternal ID of purchased domain
namestringPurchased domain name, e.g. "mysuperstore.com"
statusstringStatus of purchased domain
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
redirectToPrimaryDomainbooleanShows if this domain redirects to the main one. Displays only if the "primaryDomain": false. Available values: true, false
purchaseDatestringDate of domain purchase
expirationDatestringDate of domain expiration
renewalDatestringDate of next charge for domain renewal
autorenewbooleanShows if automatic renewal charge is enabled. Available values: true, false
domainRegistrantInfoObject domainRegistrantInfoDomain owner details specified in purchase process
billingInfoObject billingInfoDomain billing information

domainRegistrantInfo

FieldTypeDescription
verificationStatusstring"verified" if the verification is complete
firstNamestringFirst name of domain owner
lastNamestringLast name of domain owner
emailstringEmail address of domain owner
streetstringStreet address
citystringCity address
countryCodestringA two-letter ISO code of country where domain owner lives
postalCodestringPostal code or ZIP code
stateOrProvinceCodestringState code (e.g. NY) or a region name. See valid codes here: https://api-docs.ecwid.com/reference/list-of-state-codes.
phonestringPhone number of domain owner
companyNamestringThe company name used in domain purchase

domainBillingInfo

FieldTypeDescription
totalRenewalDomainPricenumberTotal price for domain renewal
renewalDomainPricenumberPrice of domain
renewalTaxnumberTax for domain price
whoisPrivacyFeaturePricenumberPrice for the "whois Privacy" feature
currencystringCurrency for domain renewal, e.g. "USD"
totalRenewalDomainPriceFormattedstringFormatted total price for domain renewal, e.g. "$99.00"
Language
Click Try It! to start a request and see the response here!