domains
GET /v1/domains/{domainId}/restore-quote
What it costs to restore a lapsed domain.
Autentifikacija
Pošaljite API ključ kao nosivi token. Ključ mora imati dozvolu sites.view; ključ bez nje se odbija s kodom 403, a ne 404.
Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.
curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/restore-quote \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli
Pojedinosti
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
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
domainId (path) | Uuid | Da | The domain's id. |
Odgovor
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
domain_id | Uuid | Da | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
fqdn | string | Da | — |
restorable | boolean | Da | — |
reason | object | Da | Why 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… |
amount_minor | object | Da | — |
currency | object | Da | — |
line_kind | string<domain_restore> | Da | The cart line kind that buys it. |
Pogreške koje ova krajnja točka može vratiti
401 · 403 · 404 · 429