create_cart – Warenkorb anlegen

Neuer leerer Warenkorb. Mit API-Key gehört er dem Konto, sonst gilt die cart_id als Zugangsschlüssel.

HTTP
POST /api/carts
Zugang
Konto optional
Bereich
Warenkorb
Nur lesend
nein

Formular

Eingabeschema (JSON Schema)

{
    "type": "object",
    "properties": {}
}

REST

curl -X POST https://anltx.com/api/carts \
  -H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \
  -d '{}'

MCP

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "create_cart",
        "arguments": {}
    }
}

Alle Werkzeuge