Saltar al contenido principal

Reordenar reglas automáticas

POST 

/automatic-rules/reorder

Rewrites position for one (company_id, scope) group so it matches ordered_ids (first → position 1). Requires scope finance.automatic_rules.write. ordered_ids must be the COMPLETE ordered set for that group — a partial or foreign set is rejected (422). Idempotent via X-Idempotency-Key. Answers 200 { data: { ordered_ids } }.

Solicitud​

Respuestas​

Positions rewritten. Echoes the ids in the order they now hold.