bulk_update_listings – Massenänderung
Bis zu 100 Preis-/Bestands-/Statusänderungen (per offer_id oder seller_sku); Ergebnis je Eintrag.
- HTTP
- POST /api/listings/bulk
- Zugang
- Rolle merchant (Shop)
- Bereich
- Verkaufen
- Nur lesend
- nein
Du bist nicht angemeldet. Anmelden
Formular
Eingabeschema (JSON Schema)
{
"type": "object",
"properties": {
"updates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"offer_id": {
"type": "string"
},
"seller_sku": {
"type": "string"
},
"price": {
"type": "number",
"description": "Preis in EUR inkl. MwSt."
},
"stock": {
"type": "integer"
},
"status": {
"type": "string",
"enum": [
"active",
"inactive"
]
},
"expected_version": {
"type": "integer"
}
}
}
}
},
"required": [
"updates"
]
}
REST
curl -X POST https://anltx.com/api/listings/bulk \
-H "Authorization: Bearer $ANLTX_KEY" \
-H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \
-d '{"updates":"<updates>"}'
MCP
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "bulk_update_listings",
"arguments": {
"updates": "<updates>"
}
}
}