domains

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

What it costs to restore a lapsed domain.

Todos los endpoints de domains

Autenticación

Envía una clave de API como token de portador. La clave debe tener el permiso sites.view; una clave que no lo tenga se rechazará con un código 403, no 404.

Este endpoint no requiere ningún id de organización. Su clave ya identifica la organización a la que pertenece, y la respuesta está delimitada a ella.

Pruébalo

Reemplaza cualquier elemento entre corchetes angulares por tus propios valores, y el marcador de posición key con una clave de tu panel de control.

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

¿Has iniciado sesión? La consola de la API en tu panel de control rellena el ID de tu organización real y tu propia clave, y ejecuta la solicitud contra la API en vivo para que puedas ver la respuesta real. Abre este endpoint en la consola de la API

Detalles

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

Parámetros

NombreTipoObligatorio¿Qué es esto?
domainId (path)UuidThe domain's id.

Respuesta

NombreTipoObligatorio¿Qué es esto?
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.

Errores que este endpoint puede devolver

401 · 403 · 404 · 429