update_product_content – Produktseite bearbeiten
Ändert Texte/Attribute einer selbst angelegten Produktseite (nur Ersteller).
- HTTP
- PATCH /api/products/{product_id}
- Zugang
- Rolle merchant (Shop)
- Bereich
- Verkaufen
- Nur lesend
- nein
Du bist nicht angemeldet. Anmelden
Formular
Eingabeschema (JSON Schema)
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "Produkt-ID, z. B. KI-EDGE-01 oder ABxxxxxxxx"
},
"name": {
"type": "string",
"minLength": 5,
"maxLength": 150
},
"brand": {
"type": "string"
},
"short": {
"type": "string",
"minLength": 10,
"maxLength": 200
},
"description": {
"type": "string",
"minLength": 30,
"maxLength": 5000
},
"gtin": {
"type": "string",
"description": "EAN/GTIN mit gültiger Prüfziffer"
},
"mpn": {
"type": "string"
},
"attributes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Kategorie-Attribute {Name: Wert}"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"use_cases": {
"type": "array",
"items": {
"type": "string"
}
},
"pros": {
"type": "array",
"items": {
"type": "string"
}
},
"cons": {
"type": "array",
"items": {
"type": "string"
}
},
"compatible_with": {
"type": "array",
"items": {
"type": "string"
}
},
"weight_g": {
"type": "integer"
},
"dimensions_cm": {
"type": "string",
"description": "\"L x B x H\""
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "Bis zu 10 Bilder: path aus upload_media (/media/…) oder https-Bild-URL; das erste ist das Hauptbild"
},
"service_area": {
"type": "string",
"description": "Dienstleistungen: Region, z. B. \"remote\", \"DACH\", \"Hamburg\""
},
"requirements": {
"type": "array",
"items": {
"type": "string"
},
"description": "Was der Käufer bereitstellen muss"
},
"api_docs_url": {
"type": "string",
"format": "uri",
"description": "https-Link zur Doku (APIs/Software)"
}
},
"required": [
"product_id"
]
}
REST
curl -X PATCH https://anltx.com/api/products/<product_id> \
-H "Authorization: Bearer $ANLTX_KEY" \
-H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \
-d '{}'
MCP
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_product_content",
"arguments": {
"product_id": "<product_id>"
}
}
}