Zum Hauptinhalt springen

Locations API

Auflisten

GET /locations

Erstellen

POST /locations

{ "name": "Kühlschrank", "icon": "🧊", "description": "Hauptkühlschrank", "is_freezer": false }

Aktualisieren

PATCH /locations/{id}

Löschen

DELETE /locations/{id}

Schlägt fehl wenn noch Bestandseinträge zugewiesen sind.