TanqoryDocs

tanqoryExtSubdomainAvailability

  • Query
  • Products

Whether the store can change its mytanqory.com subdomain to this one ("Change mytanqory.com domain" checks as the merchant types): available, or the message to show.

Arguments

ArgumentTypeRequiredDefault
subdomainString!Required

Returns

TanqoryExtSubdomainAvailability!

FieldTypeDescription
availableBoolean!
hostString!
messageString

Why it can't be used; null when available.

subdomainString!

The subdomain as it would be saved (lower case, without .mytanqory.com).

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 TanqoryExtSubdomainAvailability($subdomain: String!) {\n  tanqoryExtSubdomainAvailability(subdomain: $subdomain) {\n    available\n    host\n    message\n    subdomain\n  }\n}","variables":{"subdomain":""}}'

Built from commit c0b3fb3fdef7 · API version 2026-10