domains

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

What it costs to restore a lapsed domain.

Wszystkie punkty końcowe domains

Uwierzytelnianie

Wyślij klucz API jako token bearer. Klucz musi posiadać uprawnienie sites.view; klucz bez niego jest odrzucany z kodem 403, a nie 404.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

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

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

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`.

Parametry

NazwaTypWymaganeCo to jest
domainId (path)UuidTakThe domain's id.

Odpowiedź

NazwaTypWymaganeCo to jest
domain_idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
fqdnstringTak
restorablebooleanTak
reasonobjectTakWhy 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_minorobjectTak
currencyobjectTak
line_kindstring<domain_restore>TakThe cart line kind that buys it.

Błędy, które ten punkt końcowy może zwrócić

401 · 403 · 404 · 429