domains

GET /v1/domains/{domainId}/restore-quote

What it costs to restore a lapsed domain.

Tutti gli endpoint domains

Autenticazione

Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione sites.view; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.

Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.

Provalo

Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.

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

Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API

Dettagli

The registry redemption fee for a domain that has fallen into `redemption`, and whether it can be restored at all. Priced in the caller's display currency (`X-Zinn-Currency`, falling back to USD) from the TLD catalogue. A domain that has not lapsed that far needs a **renewal**, not a restore, and is answered `restorable: false` rather than quoted — a redemption fee is many times a renewal, so quoting one in the wrong state would overcharge for a renewal. Requires `sites.view`.

Parametri

NomeTipoObbligatorioChe cos'è
domainId (path)UuidThe domain's id.

Risposta

NomeTipoObbligatorioChe cos'è
domain_idUuidUUIDv7 identifier — sortable by creation time (docs/02 §8).
fqdnstring
restorableboolean
reasonobjectWhy not, when `restorable` is false. `NOT_IN_REDEMPTION` — the domain has not lapsed that far, so a renewal is what it needs. `NOT_PRICED` — the registry has no redemption produ…
amount_minorobject
currencyobject
line_kindstring<domain_restore>The cart line kind that buys it.

Errori che questo endpoint può restituire

401 · 403 · 404 · 429