TanqoryDocs

tanqoryExtDomain

  • Query
  • Products

Requires read_online_store access scope. About access scopes

One domain. Null when it does not exist in this store.

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

TanqoryExtDomain

FieldTypeDescription
createdAtDateTime!
dnsCheckRequestedAtDateTime

When the merchant last said the DNS records are updated (CHECKING since then).

dnsProviderTanqoryExtDnsProvider

Where the domain's DNS is hosted (from its NS records); null when unknown or for the platform domain.

dnsRecords[TanqoryExtDnsRecord!]!

DNS records the merchant adds at their provider for a connected domain (empty for the platform domain).

hostString!
idID!
platformBoolean!

The platform domain <handle>.mytanqory.com (managed by Tanqory, cannot be removed).

primaryBoolean!
sslEnabledBoolean!

Whether the domain serves over HTTPS: its certificate is issued (sslStatus ACTIVE).

sslStatusTanqoryExtDomainSslStatus

The domain's SSL certificate. A connected domain's certificate is issued after its DNS records are verified: PENDING until then (usually minutes, at most 24 hours), ACTIVE once the domain serves over HTTPS (sslEnabled is true), FAILED when it could not be issued (check that the DNS records still point at Tanqory). ACTIVE for the platform domain; null while the domain is not connected.

statusTanqoryExtDomainStatus!
targetString!

Where the domain points: always the online store today.

urlURL!
verifiedAtDateTime
wwwPrimaryBoolean!

The primary domain is served at its www. host (url is then https://www.<host>) and the domain itself redirects there. False for any domain that is not primary.

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtDomain($id: ID!) {\n  tanqoryExtDomain(id: $id) {\n    createdAt\n    dnsCheckRequestedAt\n    host\n    id\n    platform\n    primary\n    sslEnabled\n    sslStatus\n    status\n    target\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10