API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · domain_orders

Domain Order Schema

ID del esquema
domain_order
Colección
domain_orders
Permisos
  • Leerdomain_register
  • Creardomain_register
  • Modificardomain_register
  • Eliminardomain_register

Campos

Domain Order Schema

domain_orders4 permisos

Schema for domain registration, transfer, and renewal orders

domainNamestringobligatorio

Fully qualified domain name to register/transfer/renew

1–253 caracteres
orderTypestringobligatorio

Type of domain order

registrationtransferrenewal
statusstringopcional

Current order status

pendingprocessingcompletedfailedcancelled
solo lectura
inwxOrderIdstringopcional

INWX order/process ID

solo lecturaadmite null
inwxPricenumberopcional

INWX wholesale price in EUR

≥ 0solo lectura
retailPricenumberopcional

Retail price charged to tenant in EUR

≥ 0solo lectura
marginnumberopcional

Markup margin in EUR

≥ 0solo lectura
periodintegerobligatorio

Registration/renewal period in years

1 – 10
ownerPartyIduuidopcional

Party used as INWX owner handle

admite null
adminPartyIduuidopcional

Party used as INWX admin handle (defaults to owner)

admite null
techPartyIduuidopcional

Party used as INWX tech handle (defaults to owner)

admite null
billingPartyIduuidopcional

Party used as INWX billing handle (defaults to owner)

admite null
authCodestringopcional

DEPRECATED — never written since VULN-2026-10-29-domain-order-authcode-in-api-response. The auth code lives only in the transfer job data; legacy values are redacted on read.

máx. 255 caracteresadmite null
ownerHandleIduuidopcional

domain_handles id of the owner (registrant) contact (ADR 1117)

admite null
adminHandleIduuidopcional
admite null
techHandleIduuidopcional
admite null
billingHandleIduuidopcional
admite null
customerPartyIduuidopcional

Customer party the domain belongs to (asset.partyId)

admite null
billingobjectopcional

Customer billing (contract position) after completion; null = do not bill

admite null
contractIduuidopcional
admite null
unitPriceCentsintegeropcional
≥ 0admite null
dnsTemplateIduuidopcional
admite null
dnsTemplateVariablesobjectopcional
admite null
batchIdstringopcional

Groups the orders of one POST /domain-orders/batch call

máx. 64 caracteresadmite null
renewAssetIduuidopcional

Domain asset a renewal order extends

admite null
renewBaseExDatestringopcional

Registry expiry date recorded by the worker right before domain.renew. A retried renewal compares the current expiry against it and completes instead of renewing a second time.

máx. 64 caracteresadmite null
registrarSubmittedAtdatetimeopcional

Worker-managed: the registrar accepted domain.create/domain.transfer for this order. A retry may complete the order only if the domain is in the platform account AND this (or registrarOutcomeUnknownAt) is set.

admite null
registrarOutcomeUnknownAtdatetimeopcional

Worker-managed: the registrar response to a non-idempotent call was lost; the worker checked the account instead of re-sending.

admite null
useInwxNameserversbooleanopcional

Whether to use INWX default nameservers

nameserversstring[]opcional

Custom nameservers (if not using INWX)

máx. 6 elementosadmite null
assetIduuidopcional

Created domain asset ID (set on completion)

solo lecturaadmite null
errorMessagestringopcional

Error details if order failed

máx. 2000 caracteressolo lecturaadmite null
errorCodestringopcional

Catalog key (API_ERRORS_CATALOG) of errorMessage, so the UI can render it in the user language (ADR 1033 / S9c). Absent/null on older orders — fall back to errorMessage.

máx. 120 caracteressolo lecturaadmite null
errorParamsobjectopcional

Interpolation values for errorCode (JSON-safe scalars).

solo lecturaadmite null
completedAtdatetimeopcional

When the order was completed

solo lecturaadmite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/domain_orders — Lista, paginada y filtrable
  • GET /api/v1/domain_orders/<id> — Una entidad
  • POST /api/v1/domain_orders — Crear
  • PATCH /api/v1/domain_orders/<id> — Actualización parcial
  • DELETE /api/v1/domain_orders/<id> — Eliminación lógica
  • GET /api/v1/domain_orders/<id>/timeline — Auditoría y actividades

Búsqueda