Bulk patch employee positions
PATCH/api/v2/employee-positions
Applies the same patch to every id in ids as a single all-or-nothing transaction. Editable fields are restricted to a whitelist (enabled, blockType, description, commissionsEnabled, identity (code, name), multi-tenant scope (companyId) and audit fields are rejected. If any id is missing or outside the user's company scope the whole operation is rolled back.
Request
Responses
- 200
- 400
- 401
- 403
- 500
All entities updated
Empty ids/patch, malformed payload, non-whitelisted field or unknown id
Missing or invalid JWT (Bearer token).
Authenticated user is missing the EDITAR_POSICIONEMPLEADOTIENDA permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.