domains

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

What it costs to restore a lapsed domain.

Sve domains krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija sa 403, a ne sa 404.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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

NazivVrstaObaveznoŠta je ovo
domainId (path)UuidDaThe domain's id.

Odgovor

NazivVrstaObaveznoŠta je ovo
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.

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 404 · 429