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.

Operation

OperationTypePurpose
createAdminRmaRuleMassUpdateStatus(input:)MutationUpdate the status of multiple RMA rules

updated is returned as a plain array of the numeric ids that changed. An empty indices list or an out-of-range value returns a 422 error.

Input fields

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

Released under the MIT License.