Persist a reordered form-field list
Walks item[] from the request and writes its index back to each field’s field_order, in order. Operates on Donorfield rows when type=donor, otherwise Field rows. Refuses to reorder donor fields that are locked compatibility fields (returns 422). Flushes the relevant per-form caches, clears the cached entity/donor data, and queues the tenant-scoped entity/sponsorship search refresh so title-field display-name order remains current. Verb is GET (legacy ergonomics) — newer integrations should expect this to migrate to PUT/PATCH. Requires permission: manage_programs.
Authorizations
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Which table to reorder: donor (Donorfield) or anything else (Field).
donor, entity Query Parameters
Ordered array of field ids (the index becomes the new field_order). Read via request()->all() so may also be sent in the body.
Response
Order persisted.
"Successfull"