API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · domain_orders

Domain Order Schema

ID du schéma
domain_order
Collection
domain_orders
Autorisations
  • Liredomain_register
  • Créerdomain_register
  • Modifierdomain_register
  • Supprimerdomain_register

Champs

Domain Order Schema

domain_orders4 autorisations

Schema for domain registration, transfer, and renewal orders

domainNamestringobligatoire

Fully qualified domain name to register/transfer/renew

1–253 caractères
orderTypestringobligatoire

Type of domain order

registrationtransferrenewal
statusstringfacultatif

Current order status

pendingprocessingcompletedfailedcancelled
lecture seule
inwxOrderIdstringfacultatif

INWX order/process ID

lecture seulenullable
inwxPricenumberfacultatif

INWX wholesale price in EUR

≥ 0lecture seule
retailPricenumberfacultatif

Retail price charged to tenant in EUR

≥ 0lecture seule
marginnumberfacultatif

Markup margin in EUR

≥ 0lecture seule
periodintegerobligatoire

Registration/renewal period in years

1 – 10
ownerPartyIduuidfacultatif

Party used as INWX owner handle

nullable
adminPartyIduuidfacultatif

Party used as INWX admin handle (defaults to owner)

nullable
techPartyIduuidfacultatif

Party used as INWX tech handle (defaults to owner)

nullable
billingPartyIduuidfacultatif

Party used as INWX billing handle (defaults to owner)

nullable
authCodestringfacultatif

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.

max. 255 caractèresnullable
ownerHandleIduuidfacultatif

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

nullable
adminHandleIduuidfacultatif
nullable
techHandleIduuidfacultatif
nullable
billingHandleIduuidfacultatif
nullable
customerPartyIduuidfacultatif

Customer party the domain belongs to (asset.partyId)

nullable
billingobjectfacultatif

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

nullable
contractIduuidfacultatif
nullable
unitPriceCentsintegerfacultatif
≥ 0nullable
dnsTemplateIduuidfacultatif
nullable
dnsTemplateVariablesobjectfacultatif
nullable
batchIdstringfacultatif

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

max. 64 caractèresnullable
renewAssetIduuidfacultatif

Domain asset a renewal order extends

nullable
renewBaseExDatestringfacultatif

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.

max. 64 caractèresnullable
registrarSubmittedAtdatetimefacultatif

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.

nullable
registrarOutcomeUnknownAtdatetimefacultatif

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

nullable
useInwxNameserversbooleanfacultatif

Whether to use INWX default nameservers

nameserversstring[]facultatif

Custom nameservers (if not using INWX)

max. 6 élémentsnullable
assetIduuidfacultatif

Created domain asset ID (set on completion)

lecture seulenullable
errorMessagestringfacultatif

Error details if order failed

max. 2000 caractèreslecture seulenullable
errorCodestringfacultatif

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.

max. 120 caractèreslecture seulenullable
errorParamsobjectfacultatif

Interpolation values for errorCode (JSON-safe scalars).

lecture seulenullable
completedAtdatetimefacultatif

When the order was completed

lecture seulenullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/domain_orders — Liste, paginée et filtrable
  • GET /api/v1/domain_orders/<id> — Une entité
  • POST /api/v1/domain_orders — Créer
  • PATCH /api/v1/domain_orders/<id> — Mise à jour partielle
  • DELETE /api/v1/domain_orders/<id> — Suppression logique
  • GET /api/v1/domain_orders/<id>/timeline — Audit et activités

Recherche