API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen
Entity · domain_orders

Domain Order Schema

Schema-ID
domain_order
Collection
domain_orders
Permissions
  • Lesendomain_register
  • Anlegendomain_register
  • Änderndomain_register
  • Löschendomain_register

Felder

Domain Order Schema

domain_orders4 Permissions

Schema for domain registration, transfer, and renewal orders

domainNamestringerforderlich

Fully qualified domain name to register/transfer/renew

1–253 Zeichen
orderTypestringerforderlich

Type of domain order

registrationtransferrenewal
statusstringoptional

Current order status

pendingprocessingcompletedfailedcancelled
read-only
inwxOrderIdstringoptional

INWX order/process ID

read-onlynullable
inwxPricenumberoptional

INWX wholesale price in EUR

≥ 0read-only
retailPricenumberoptional

Retail price charged to tenant in EUR

≥ 0read-only
marginnumberoptional

Markup margin in EUR

≥ 0read-only
periodintegererforderlich

Registration/renewal period in years

1 – 10
ownerPartyIduuidoptional

Party used as INWX owner handle

nullable
adminPartyIduuidoptional

Party used as INWX admin handle (defaults to owner)

nullable
techPartyIduuidoptional

Party used as INWX tech handle (defaults to owner)

nullable
billingPartyIduuidoptional

Party used as INWX billing handle (defaults to owner)

nullable
authCodestringoptional

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 Zeichennullable
ownerHandleIduuidoptional

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

nullable
adminHandleIduuidoptional
nullable
techHandleIduuidoptional
nullable
billingHandleIduuidoptional
nullable
customerPartyIduuidoptional

Customer party the domain belongs to (asset.partyId)

nullable
billingobjectoptional

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

nullable
contractIduuidoptional
nullable
unitPriceCentsintegeroptional
≥ 0nullable
dnsTemplateIduuidoptional
nullable
dnsTemplateVariablesobjectoptional
nullable
batchIdstringoptional

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

max 64 Zeichennullable
renewAssetIduuidoptional

Domain asset a renewal order extends

nullable
renewBaseExDatestringoptional

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 Zeichennullable
registrarSubmittedAtdatetimeoptional

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
registrarOutcomeUnknownAtdatetimeoptional

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

nullable
useInwxNameserversbooleanoptional

Whether to use INWX default nameservers

nameserversstring[]optional

Custom nameservers (if not using INWX)

max 6 Itemsnullable
assetIduuidoptional

Created domain asset ID (set on completion)

read-onlynullable
errorMessagestringoptional

Error details if order failed

max 2000 Zeichenread-onlynullable
errorCodestringoptional

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 Zeichenread-onlynullable
errorParamsobjectoptional

Interpolation values for errorCode (JSON-safe scalars).

read-onlynullable
completedAtdatetimeoptional

When the order was completed

read-onlynullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/domain_orders — Liste, paginiert + filterbar
  • GET /api/v1/domain_orders/<id> — Einzelne Entity
  • POST /api/v1/domain_orders — Anlegen
  • PATCH /api/v1/domain_orders/<id> — Teil-Update
  • DELETE /api/v1/domain_orders/<id> — Soft-Delete
  • GET /api/v1/domain_orders/<id>/timeline — Audit + Aktivitäten

Suche