domains

GET /v1/domains/{domainId}/premium-dns

Whether Premium DNS can be sold for this domain, and which row to sell.

Tous les points de terminaison domains

Authentification

Envoyez une clé API en tant que jeton du porteur. La clé doit posséder l'autorisation sites.view ; une clé qui ne l'a pas est refusée avec le code 403, et non 404.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/premium-dns \
  -H "Authorization: Bearer zdk_live_…"

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

Premium DNS by Sectigo is sold **per zone**, so it is meaningless without a domain and its catalogue rows are deliberately not public — the account-level storefront must not offer it and the domain's own screen must. This is the read that screen uses. ⛔ **The offer is SUPPRESSED where the domain cannot use the product**, computed here rather than in a client. A Cloudflare-registrar domain cannot be delegated anywhere else at all, and a domain riding the shared fleet nameservers has no authoritative zone of its own for Sectigo to replace. Selling to either would charge the customer and then refuse them. `reason` is a **code**, never a sentence — the customer-facing wording is localizable and belongs in the client's own catalogue. `registrar_locks_nameservers` means the registrar permits no other nameservers; `no_zone_of_its_own` means there is no zone to upgrade; `registry_unavailable` means the public registry did not answer, so we cannot tell which case this is — and an unknown is not a yes. `code` is the `Extra.code` to purchase, chosen by the domain's product line through the catalogue's own fence rather than by a second price table. `site_id` is the site the purchase must name: the extra is site-scoped, so a buy button offered without one produces a charge that fulfilment then refuses. Requires `sites.view`, RLS-scoped.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
domainId (path)UuidOuiThe domain's id.

Réponse

NomTypeObligatoireQu'est-ce que c'est
availablebooleanOuiShow the offer.
reasonstring<registrar_locks_nameservers, no_zone_of_its_own, registry_unavailable>OuiWhy the offer is hidden, as a CODE for the client to translate. `null` when `available` is true, and also when `active` is true — an existing purchase is not a suppression.
codestringOuiThe `Extra.code` to purchase, chosen by the domain's product line.
activebooleanOuiAlready bought for this domain and not refunded. The screen says so rather than offering it again — and it is a THIRD state, not `available: false` with a reason: hiding the car…

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 404 · 429