Skip to main content
Base path: /location (relative to your instance’s /api/v2). The standard endpoints provide reads and writes, subject to the constraints below. Search columns: name, code

Fields

Ownership and archiving

Supply name and exactly one of shopId or projectId on create. Ownership cannot be changed by PATCH. Parent locations must belong to the same owner, and cycles are rejected. Supply latitude and longitude together. DELETE /location/{id} archives the location and its active descendants. To archive, use DELETE; PATCH accepts isArchived: false for restoration, but rejects isArchived: true. A restore targets the addressed record; do not assume it restores every descendant.