NewCommissionConfigInput
input type
Create-input for a CommissionConfig.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — a readable axis summary (the class — e.g. Commission: role …, category …, pos); when supplied it must be non-blank. |
appliesToAllSalesInScope | Boolean | no | The manager-on-all flag — literal true; REQUIRES agentRoleId (without agentUserId). |
agentRoleId | ID | no | Agent axis (Role arm). |
agentUserId | ID | no | Agent axis (User arm). |
divisionId | ID | no | Merchandise axis (Division arm). |
categoryId | ID | no | Merchandise axis (Category arm — subtree). |
styleId | ID | no | Merchandise axis (Style arm). |
organizationId | ID | no | Location axis (Organization arm). |
logicalFacilityId | ID | no | Location axis (LogicalFacility arm). |
channel | OrderChannel | no | Channel axis. |
rate | CommissionRateInput | no | The earning formula (≥1 of rate/enabled required — the substance rule). |
enabled | Boolean | no | The per-cell switch. |