Skip to content

Mass Update RMA rules Status

Sets the active status flag on several RMA rules in one call. Permission: sales.rma.rules.edit.

Endpoint

POST /api/admin/rma/rules/mass-update-status

Request body

FieldTypeRequiredNotes
indicesarrayYesNon-empty list of numeric ids to update.
valueintegerYesNew status — 1 (active) or 0 (inactive).

An empty indices list or an out-of-range value returns a 422 error.

The response updated array lists the ids that changed.

Released under the MIT License.