domains

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

What it costs to restore a lapsed domain.

Toate punctele finale domains

Autentificare

Trimiteți o cheie API ca token de tip bearer. Cheia trebuie să aibă permisiunea sites.view; o cheie care nu o are va fi respinsă cu 403, nu 404.

Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.

Încearcă

Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.

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

Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API

Detalii

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

NumeTipObligatoriuCe este
domainId (path)UuidDaThe domain's id.

Răspuns

NumeTipObligatoriuCe este
domain_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
fqdnstringDa
restorablebooleanDa
reasonobjectDaWhy 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_minorobjectDa
currencyobjectDa
line_kindstring<domain_restore>DaThe cart line kind that buys it.

Erori pe care le poate returna acest punct final

401 · 403 · 404 · 429