Admin API / Mutations

refreshCustomDomainStatus

Asks District to check the DNS records of a custom domain now, and gives the setup after the check. Requires the OWNER role or higher. District sets up each surface whose records it finds, and moves the storefront of a domain with dnsUpdateRequired when the storefront records route to District. District runs at most 6 checks for each store in 60 seconds. A refresh past that limit checks nothing and answers success. A check that District could not finish in 20 seconds continues after the answer. A failed check also answers success, with the setup as it is.

Requires a client key with one of these scopes: admin:storefront:manageRequires this member role or higher: OWNER
refreshCustomDomainStatus(
  input: RefreshCustomDomainStatusInput!
): RefreshCustomDomainStatusPayload!

Arguments

ArgumentTypeDescription
inputRefreshCustomDomainStatusInput!The domain to check.

Return type

RefreshCustomDomainStatusPayload!