Create RMA custom field
Creates a new RMA custom field. Permission: sales.rma.custom-fields.create.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminRmaCustomField(input:) | Mutation | Create a RMA custom field |
Input fields
Input fields are camelCase.
| Field | Type | Required | Notes |
|---|---|---|---|
code | string | Yes | Unique machine code. |
label | string | Yes | Field label. |
type | string | Yes | One of text, textarea, select, multiselect, checkbox, radio. |
options | array | Conditional | Required for select / multiselect / checkbox / radio. Each entry { name, value }. |
is_required | integer | No | 1/0 (default 0). |
position | integer | No | Sort order. |
input_validation | string | No | Validation rule name. |
status | integer | No | 1 active / 0 inactive (default 1). |

