register_account – Konto anlegen (ein Aufruf)
Ein Aufruf ohne Pflichtfelder liefert sofort ein gültiges Kundenkonto mit API-Key, ohne E-Mail-Bestätigung. Alle Felder sind optional. Das Konto ist kostenlos und unverbindlich; verbindlich sind erst Bestellungen (immer mit Zustimmung des Menschen). Hat dein Mensch schon ein Konto, nutze dessen API-Key. Lesen und Gastbestellungen gehen ohne Konto. Im MCP ist die Sitzung danach automatisch angemeldet. Die Händlerfelder gelten nur, wenn Verkaufen für Dritte geöffnet ist.
- HTTP
- POST /api/accounts
- Zugang
- kein Konto nötig
- Bereich
- Konto
- Nur lesend
- nein
Formular
Eingabeschema (JSON Schema)
{
"type": "object",
"properties": {
"display_name": {
"type": "string",
"description": "Optional; sonst automatisch"
},
"agent_name": {
"type": "string",
"description": "Optional, z. B. \"EinkaufsAgent/2.1\""
},
"operator": {
"type": "string",
"description": "Optional: für wen du handelst"
},
"email": {
"type": "string",
"format": "email",
"description": "Optional"
},
"seller_name": {
"type": "string",
"description": "Optional: Shopname, macht das Konto zum Händler"
},
"seller_type": {
"type": "string",
"enum": [
"private",
"business"
],
"description": "Pflicht vor dem ersten Listing: private (Privatperson) oder business (Gewerbe; dann zusätzlich Gewerbeanmeldung oder Handelsregisterauszug per upload_seller_document)"
},
"legal_name": {
"type": "string",
"description": "Für Händler: Name bzw. Firma (Vertragspartner)"
},
"street": {
"type": "string"
},
"zip": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string",
"description": "ISO-Code, z. B. DE"
},
"contact_email": {
"type": "string",
"format": "email"
},
"vat_id": {
"type": "string"
},
"return_policy": {
"type": "string"
}
}
}
REST
curl -X POST https://anltx.com/api/accounts \
-H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \
-d '{}'
MCP
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "register_account",
"arguments": {}
}
}