---
title: "Save commission settings"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Save commission settings

Path: Nicer API › Commerce

`POST /commerce/commission-settings/actions`

URL: `https://api.nicer.travel/commerce/commission-settings/actions`

Saves one section of the company's commission settings against the version the caller read (SAVE_TERMS, SAVE_ARCHIVE_RULES, SAVE_PAYOUTS — enabling payout transfers is staff work — and SAVE_GDS_IMPORT — whether the GDS reservation import records the commission of the reservations it finds, also staff work — and SAVE_TRACKING — whether the agency's members may use commission tracking at all, staff work too), creates, edits or removes an agency identifier (SAVE_IDENTIFIER, REMOVE_IDENTIFIER — a real IATA, ARC, CLIA, TIDS or TRUE number has one owner), for staff links a member company to a host's identifier from one day until another, the end exclusive, or ends or suspends the link by setting that end (SAVE_HOST_RELATIONSHIP), or manages split plans: CREATE_SPLIT_PLAN writes a plan with its rules, which never change (to change shares or the markup, create another plan and assign it from a day): SHARE rules split money received, a MARKUP rule sets the rate Nicer charges over a net-rate hotel's price (15 % when no plan sets one); ASSIGN_SPLIT_PLAN applies a plan, or none, from a date to the company itself, one advisor or, for staff, a member company the host hosts that day. An advisor's own plan answers before the company's, the markup and each share on their own. SAVE_EXPORT_PRESET keeps an export's columns under a name (replacing the company's preset of that name; an import preset is saved from a mapped file, with SAVE_PRESET on its import or remittance batch), REMOVE_IMPORT_PRESET and REMOVE_EXPORT_PRESET delete one of the company's own (built-in presets cannot be removed: 404). Returns the whole settings document. Admins and staff.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Header parameters

- `Idempotency-Key` (`commerce.commissionSettings.actions.create.header.Idempotency-Key`; string, required) — Unique key (8–255 chars) per request; replays return the original result.
- `x-nicer-company` (`commerce.commissionSettings.actions.create.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API.

## Request body

_Required._

Every option has:

- `type` (`<option>.type`; string, required)

One of the following, each adding:

- `object` (`commerce.commissionSettings.actions.create.1`)
  - `defaultPaymentTermDays` (`commerce.commissionSettings.actions.create.1.defaultPaymentTermDays`; integer, required)
    - maximum: `730` · minimum: `0`
  - `expectedVersion` (`commerce.commissionSettings.actions.create.1.expectedVersion`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `paidToleranceMinor` (`commerce.commissionSettings.actions.create.1.paidToleranceMinor`; integer, required)
    - maximum: `100000` · minimum: `0`
- `object` (`commerce.commissionSettings.actions.create.2`)
  - `expectedVersion` (`commerce.commissionSettings.actions.create.2.expectedVersion`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `unclaimedArchiveDays` (`commerce.commissionSettings.actions.create.2.unclaimedArchiveDays`; any of, optional)
    - any of the following: `integer`, `null`
- `object` (`commerce.commissionSettings.actions.create.3`)
  - `isDefault` (`commerce.commissionSettings.actions.create.3.isDefault`; boolean, required)
  - `kind` (`commerce.commissionSettings.actions.create.3.kind`; string, required)
    - one of `"IATA"`, `"ARC"`, `"CLIA"`, `"TIDS"`, `"TRUE"`, `"INTERNAL"`
  - `number` (`commerce.commissionSettings.actions.create.3.number`; string, required)
    - maxLength: `32` · minLength: `1`
  - `identifierId` (`commerce.commissionSettings.actions.create.3.identifierId`; any of, optional)
    - any of the following: `string`, `null`
  - `label` (`commerce.commissionSettings.actions.create.3.label`; any of, optional)
    - any of the following: `string`, `null`
  - `paymentInstructions` (`commerce.commissionSettings.actions.create.3.paymentInstructions`; any of, optional)
    - any of the following: `PaymentInstructions`, `null`
- `object` (`commerce.commissionSettings.actions.create.4`)
  - `identifierId` (`commerce.commissionSettings.actions.create.4.identifierId`; string, required)
    - minLength: `1`
- `object` (`commerce.commissionSettings.actions.create.5`)
  - `effectiveFrom` (`commerce.commissionSettings.actions.create.5.effectiveFrom`; string, required)
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `identifierId` (`commerce.commissionSettings.actions.create.5.identifierId`; string, required)
    - minLength: `1`
  - `memberCompanyName` (`commerce.commissionSettings.actions.create.5.memberCompanyName`; string, required)
    - minLength: `1`
  - `claimWindowDays` (`commerce.commissionSettings.actions.create.5.claimWindowDays`; any of, optional)
    - any of the following: `integer`, `null`
  - `effectiveTo` (`commerce.commissionSettings.actions.create.5.effectiveTo`; any of, optional)
    - any of the following: `string`, `null`
- `object` (`commerce.commissionSettings.actions.create.6`)
  - `expectedVersion` (`commerce.commissionSettings.actions.create.6.expectedVersion`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `stripeConnectEnabled` (`commerce.commissionSettings.actions.create.6.stripeConnectEnabled`; boolean, required)
- `object` (`commerce.commissionSettings.actions.create.7`)
  - `expectedVersion` (`commerce.commissionSettings.actions.create.7.expectedVersion`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `gdsImportCommissionEnabled` (`commerce.commissionSettings.actions.create.7.gdsImportCommissionEnabled`; boolean, required)
- `object` (`commerce.commissionSettings.actions.create.8`)
  - `expectedVersion` (`commerce.commissionSettings.actions.create.8.expectedVersion`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
  - `trackingEnabled` (`commerce.commissionSettings.actions.create.8.trackingEnabled`; boolean, required)
- `object` (`commerce.commissionSettings.actions.create.9`)
  - `name` (`commerce.commissionSettings.actions.create.9.name`; string, required)
    - maxLength: `100` · minLength: `1`
  - `rules` (`commerce.commissionSettings.actions.create.9.rules`; array of object, required)
    - `basis` (`commerce.commissionSettings.actions.create.9.rules.basis`; any of, required)
      - any of the following:
        - `string`: one of `"GROSS"`, `"NET_OF_FEES"`, `"NET_OF_HOST"`
        - `null`
    - `beneficiaryId` (`commerce.commissionSettings.actions.create.9.rules.beneficiaryId`; any of, required)
      - any of the following: `string`, `null`
    - `beneficiaryKind` (`commerce.commissionSettings.actions.create.9.rules.beneficiaryKind`; any of, required)
      - any of the following:
        - `string`: one of `"HOST"`, `"AGENCY"`, `"ADVISOR"`, `"REFERRER"`
        - `null`
    - `feeBearer` (`commerce.commissionSettings.actions.create.9.rules.feeBearer`; any of, required)
      - any of the following:
        - `string`: one of `"HOUSE"`, `"ADVISOR"`, `"PRO_RATA"`
        - `null`
    - `priority` (`commerce.commissionSettings.actions.create.9.rules.priority`; integer, required)
      - maximum: `1000` · minimum: `0`
    - `ruleId` (`commerce.commissionSettings.actions.create.9.rules.ruleId`; string, required)
      - pattern: `^[A-Za-z0-9_-]{1,64}$`
    - `scopeKind` (`commerce.commissionSettings.actions.create.9.rules.scopeKind`; string, required)
      - one of `"ALL"`, `"CATEGORY"`, `"SUPPLIER"`, `"ITEM_KIND"`, `"IDENTIFIER"`
    - `scopeValue` (`commerce.commissionSettings.actions.create.9.rules.scopeValue`; any of, required)
      - any of the following: `string`, `null`
    - `shareBps` (`commerce.commissionSettings.actions.create.9.rules.shareBps`; integer, required)
      - maximum: `10000` · minimum: `0`
    - `kind` (`commerce.commissionSettings.actions.create.9.rules.kind`; string, optional)
      - one of `"SHARE"`, `"MARKUP"` · default: `"SHARE"`
- `object` (`commerce.commissionSettings.actions.create.10`)
  - `assigneeKind` (`commerce.commissionSettings.actions.create.10.assigneeKind`; string, required)
    - one of `"COMPANY"`, `"ADVISOR"`, `"MEMBER"`
  - `effectiveFrom` (`commerce.commissionSettings.actions.create.10.effectiveFrom`; string, required)
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `splitPlanId` (`commerce.commissionSettings.actions.create.10.splitPlanId`; any of, required)
    - any of the following: `string`, `null`
  - `assigneeId` (`commerce.commissionSettings.actions.create.10.assigneeId`; any of, optional)
    - any of the following: `string`, `null`
- `object` (`commerce.commissionSettings.actions.create.11`)
  - `presetId` (`commerce.commissionSettings.actions.create.11.presetId`; string, required)
    - maxLength: `255` · minLength: `1`
- `object` (`commerce.commissionSettings.actions.create.12`)
  - `columns` (`commerce.commissionSettings.actions.create.12.columns`; array of string, required)
    - pattern: `^[A-Z][A-Z0-9_]{0,63}$`
  - `format` (`commerce.commissionSettings.actions.create.12.format`; string, required)
    - one of `"CSV"`, `"XLSX"`, `"PDF"`
  - `name` (`commerce.commissionSettings.actions.create.12.name`; string, required)
    - maxLength: `100` · minLength: `1`
  - `subject` (`commerce.commissionSettings.actions.create.12.subject`; string, required)
    - one of `"COMMISSION_ITEMS"`, `"PAYMENTS"`, `"REMITTANCES"`, `"STATEMENTS"`, `"SUPPLIERS"`, `"PAYEES"`, `"PAYOUTS"`, `"COMMISSION_INVOICES"`, `"EARNINGS"`
  - `groupBy` (`commerce.commissionSettings.actions.create.12.groupBy`; any of, optional)
    - any of the following: `ExportColumn`, `null`
  - `totalsOnly` (`commerce.commissionSettings.actions.create.12.totalsOnly`; boolean, optional)
- `object` (`commerce.commissionSettings.actions.create.13`)
  - `presetId` (`commerce.commissionSettings.actions.create.13.presetId`; string, required)
    - maxLength: `255` · minLength: `1`

## Example request

```json
{
  "defaultPaymentTermDays": 730,
  "expectedVersion": 9007199254740991,
  "paidToleranceMinor": 100000,
  "type": "SAVE_TERMS"
}
```

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
  headers: { "Idempotency-Key": process.env.NICER_IDEMPOTENCY_KEY, "x-nicer-company": process.env.NICER_COMPANY },
});

await nicer.commerce.commissionSettings.actions.create({
  "defaultPaymentTermDays": 730,
  "expectedVersion": 9007199254740991,
  "paidToleranceMinor": 100000,
  "type": "SAVE_TERMS"
});
```

### Nicer CLI

```bash
nicer commerce commission-settings actions create --company "$NICER_COMPANY" --input - <<'JSON'
{
  "defaultPaymentTermDays": 730,
  "expectedVersion": 9007199254740991,
  "paidToleranceMinor": 100000,
  "type": "SAVE_TERMS"
}
JSON
```

### cURL

```bash
curl --request POST \
  --url https://api.nicer.travel/commerce/commission-settings/actions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: string' \
  --header 'x-nicer-company: string' \
  --data '
{
  "defaultPaymentTermDays": 730,
  "expectedVersion": 9007199254740991,
  "paidToleranceMinor": 100000,
  "type": "SAVE_TERMS"
}
'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/commerce/commission-settings/actions';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Idempotency-Key': 'string',
    'x-nicer-company': 'string',
    Authorization: 'Bearer <token>'
  },
  body: JSON.stringify({
    defaultPaymentTermDays: 730,
    expectedVersion: 9007199254740991,
    paidToleranceMinor: 100000,
    type: 'SAVE_TERMS'
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/commerce/commission-settings/actions"

payload = {
    "defaultPaymentTermDays": 730,
    "expectedVersion": 9007199254740991,
    "paidToleranceMinor": 100000,
    "type": "SAVE_TERMS"
}
headers = {
    "Content-Type": "application/json",
    "Idempotency-Key": "string",
    "x-nicer-company": "string",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "exportPresets": [
    {
      "columns": [
        "string"
      ],
      "companyName": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "format": "CSV",
      "groupBy": "string",
      "name": "string",
      "presetId": "string",
      "subject": "COMMISSION_ITEMS",
      "totalsOnly": true,
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "hostRelationships": [
    {
      "claimWindowDays": 3650,
      "effectiveFrom": "2019-08-24",
      "effectiveTo": "2019-08-24",
      "hostCompanyName": "string",
      "identifierId": "string",
      "memberCompanyName": "string"
    }
  ],
  "identifiers": [
    {
      "companyName": "string",
      "identifierId": "string",
      "isDefault": true,
      "kind": "IATA",
      "label": "string",
      "number": "string",
      "paymentInstructions": {
        "checkPayableTo": "string",
        "mailingAddress": "string",
        "notes": "string"
      }
    }
  ],
  "importPresets": [
    {
      "companyName": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "presetId": "string",
      "updatedAt": "2019-08-24T14:15:22Z",
      "channel": null,
      "kind": "BOOKINGS",
      "mapping": {
        "columns": {
          "property1": "string",
          "property2": "string"
        },
        "defaults": {
          "property1": "string",
          "property2": "string"
        },
        "dateFormat": "ISO",
        "decimalSeparator": ".",
        "headerRow": 1,
        "sheet": "string"
      }
    }
  ],
  "settings": {
    "companyName": "string",
    "defaultPaymentTermDays": 730,
    "gdsImportCommissionEnabled": true,
    "paidToleranceMinor": 100000,
    "payouts": {
      "stripeConnectEnabled": true
    },
    "trackingEnabled": true,
    "unclaimedArchiveDays": 1,
    "updatedAt": "2019-08-24T14:15:22Z",
    "version": 9007199254740991
  },
  "splitPlanAssignments": [
    {
      "assigneeId": "string",
      "assigneeKind": "COMPANY",
      "companyName": "string",
      "effectiveFrom": "2019-08-24",
      "effectiveTo": "2019-08-24",
      "splitPlanId": "string"
    }
  ],
  "splitPlans": [
    {
      "companyName": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "createdByUserId": "string",
      "name": "string",
      "rules": [
        {
          "basis": "GROSS",
          "beneficiaryId": "string",
          "beneficiaryKind": "HOST",
          "feeBearer": "HOUSE",
          "kind": "SHARE",
          "priority": 1000,
          "ruleId": "string",
          "scopeKind": "ALL",
          "scopeValue": "string",
          "shareBps": 10000
        }
      ],
      "splitPlanId": "string"
    }
  ]
}
```

- `exportPresets` (`commerce.commissionSettings.actions.create.response.200.exportPresets`; array of object, required)
  - `columns` (`commerce.commissionSettings.actions.create.response.200.exportPresets.columns`; array of string, required)
    - pattern: `^[A-Z][A-Z0-9_]{0,63}$`
  - `companyName` (`commerce.commissionSettings.actions.create.response.200.exportPresets.companyName`; any of, required)
    - any of the following: `string`, `null`
  - `createdAt` (`commerce.commissionSettings.actions.create.response.200.exportPresets.createdAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
  - `format` (`commerce.commissionSettings.actions.create.response.200.exportPresets.format`; string, required)
    - one of `"CSV"`, `"XLSX"`, `"PDF"`
  - `groupBy` (`commerce.commissionSettings.actions.create.response.200.exportPresets.groupBy`; any of, required)
    - any of the following: `ExportColumn`, `null`
  - `name` (`commerce.commissionSettings.actions.create.response.200.exportPresets.name`; string, required)
    - maxLength: `100` · minLength: `1`
  - `presetId` (`commerce.commissionSettings.actions.create.response.200.exportPresets.presetId`; string, required)
    - minLength: `1`
  - `subject` (`commerce.commissionSettings.actions.create.response.200.exportPresets.subject`; string, required)
    - one of `"COMMISSION_ITEMS"`, `"PAYMENTS"`, `"REMITTANCES"`, `"STATEMENTS"`, `"SUPPLIERS"`, `"PAYEES"`, `"PAYOUTS"`, `"COMMISSION_INVOICES"`, `"EARNINGS"`
  - `totalsOnly` (`commerce.commissionSettings.actions.create.response.200.exportPresets.totalsOnly`; boolean, required)
  - `updatedAt` (`commerce.commissionSettings.actions.create.response.200.exportPresets.updatedAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
- `hostRelationships` (`commerce.commissionSettings.actions.create.response.200.hostRelationships`; array of object, required)
  - `claimWindowDays` (`commerce.commissionSettings.actions.create.response.200.hostRelationships.claimWindowDays`; any of, required)
    - any of the following: `integer`, `null`
  - `effectiveFrom` (`commerce.commissionSettings.actions.create.response.200.hostRelationships.effectiveFrom`; string, required)
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `effectiveTo` (`commerce.commissionSettings.actions.create.response.200.hostRelationships.effectiveTo`; any of, required)
    - any of the following: `string`, `null`
  - `hostCompanyName` (`commerce.commissionSettings.actions.create.response.200.hostRelationships.hostCompanyName`; string, required)
    - minLength: `1`
  - `identifierId` (`commerce.commissionSettings.actions.create.response.200.hostRelationships.identifierId`; string, required)
    - minLength: `1`
  - `memberCompanyName` (`commerce.commissionSettings.actions.create.response.200.hostRelationships.memberCompanyName`; string, required)
    - minLength: `1`
- `identifiers` (`commerce.commissionSettings.actions.create.response.200.identifiers`; array of object, required)
  - `companyName` (`commerce.commissionSettings.actions.create.response.200.identifiers.companyName`; string, required)
    - minLength: `1`
  - `identifierId` (`commerce.commissionSettings.actions.create.response.200.identifiers.identifierId`; string, required)
    - minLength: `1`
  - `isDefault` (`commerce.commissionSettings.actions.create.response.200.identifiers.isDefault`; boolean, required)
  - `kind` (`commerce.commissionSettings.actions.create.response.200.identifiers.kind`; string, required)
    - one of `"IATA"`, `"ARC"`, `"CLIA"`, `"TIDS"`, `"TRUE"`, `"INTERNAL"`
  - `label` (`commerce.commissionSettings.actions.create.response.200.identifiers.label`; any of, required)
    - any of the following: `string`, `null`
  - `number` (`commerce.commissionSettings.actions.create.response.200.identifiers.number`; string, required)
    - minLength: `1`
  - `paymentInstructions` (`commerce.commissionSettings.actions.create.response.200.identifiers.paymentInstructions`; any of, required)
    - any of the following:
      - `PaymentInstructions`
        - `checkPayableTo` (`PaymentInstructions.checkPayableTo`; any of, required)
          - any of the following: `string`, `null`
        - `mailingAddress` (`PaymentInstructions.mailingAddress`; any of, required)
          - any of the following: `string`, `null`
        - `notes` (`PaymentInstructions.notes`; any of, required)
          - any of the following: `string`, `null`
      - `null`
- `importPresets` (`commerce.commissionSettings.actions.create.response.200.importPresets`; array of ImportPreset, required)
  - every option has:
    - `companyName` (`<option>.companyName`; any of, required)
      - any of the following: `string`, `null`
    - `createdAt` (`<option>.createdAt`; string, required)
      - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
    - `name` (`<option>.name`; string, required)
      - minLength: `1`
    - `presetId` (`<option>.presetId`; string, required)
      - minLength: `1`
    - `updatedAt` (`<option>.updatedAt`; string, required)
      - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
    - `kind` (`<option>.kind`; string, required)
    - `mapping` (`<option>.mapping`; object, required)
      - `columns` (`<option>.mapping.columns`; map of string, required)
      - `defaults` (`<option>.mapping.defaults`; map of string, required)
      - `dateFormat` (`<option>.mapping.dateFormat`; string, required)
        - one of `"ISO"`, `"US"`, `"EU"`
      - `decimalSeparator` (`<option>.mapping.decimalSeparator`; string, required)
        - one of `"."`, `","`
      - `headerRow` (`<option>.mapping.headerRow`; integer, required)
        - maximum: `50` · minimum: `1`
      - `sheet` (`<option>.mapping.sheet`; any of, required)
        - any of the following: `string`, `null`
  - one of the following, each adding:
    - `object` (`commerce.commissionSettings.actions.create.response.200.importPresets.1`)
      - `channel` (`commerce.commissionSettings.actions.create.response.200.importPresets.1.channel`; null, required)
    - `object` (`commerce.commissionSettings.actions.create.response.200.importPresets.2`)
      - `channel` (`commerce.commissionSettings.actions.create.response.200.importPresets.2.channel`; any of, required)
        - any of the following: `CommissionChannel`, `null`
- `settings` (`commerce.commissionSettings.actions.create.response.200.settings`; object, required)
  - `companyName` (`commerce.commissionSettings.actions.create.response.200.settings.companyName`; string, required)
    - minLength: `1`
  - `defaultPaymentTermDays` (`commerce.commissionSettings.actions.create.response.200.settings.defaultPaymentTermDays`; integer, required)
    - maximum: `730` · minimum: `0`
  - `gdsImportCommissionEnabled` (`commerce.commissionSettings.actions.create.response.200.settings.gdsImportCommissionEnabled`; boolean, required)
  - `paidToleranceMinor` (`commerce.commissionSettings.actions.create.response.200.settings.paidToleranceMinor`; integer, required)
    - maximum: `100000` · minimum: `0`
  - `payouts` (`commerce.commissionSettings.actions.create.response.200.settings.payouts`; object, required)
    - `stripeConnectEnabled` (`commerce.commissionSettings.actions.create.response.200.settings.payouts.stripeConnectEnabled`; boolean, required)
  - `trackingEnabled` (`commerce.commissionSettings.actions.create.response.200.settings.trackingEnabled`; boolean, required)
  - `unclaimedArchiveDays` (`commerce.commissionSettings.actions.create.response.200.settings.unclaimedArchiveDays`; any of, required)
    - any of the following: `integer`, `null`
  - `updatedAt` (`commerce.commissionSettings.actions.create.response.200.settings.updatedAt`; any of, required)
    - any of the following: `string`, `null`
  - `version` (`commerce.commissionSettings.actions.create.response.200.settings.version`; integer, required)
    - maximum: `9007199254740991` · minimum: `0`
- `splitPlanAssignments` (`commerce.commissionSettings.actions.create.response.200.splitPlanAssignments`; array of object, required)
  - `assigneeId` (`commerce.commissionSettings.actions.create.response.200.splitPlanAssignments.assigneeId`; string, required)
    - minLength: `1`
  - `assigneeKind` (`commerce.commissionSettings.actions.create.response.200.splitPlanAssignments.assigneeKind`; string, required)
    - one of `"COMPANY"`, `"ADVISOR"`, `"MEMBER"`
  - `companyName` (`commerce.commissionSettings.actions.create.response.200.splitPlanAssignments.companyName`; string, required)
    - minLength: `1`
  - `effectiveFrom` (`commerce.commissionSettings.actions.create.response.200.splitPlanAssignments.effectiveFrom`; string, required)
    - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
  - `effectiveTo` (`commerce.commissionSettings.actions.create.response.200.splitPlanAssignments.effectiveTo`; any of, required)
    - any of the following: `string`, `null`
  - `splitPlanId` (`commerce.commissionSettings.actions.create.response.200.splitPlanAssignments.splitPlanId`; string, required)
    - minLength: `1`
- `splitPlans` (`commerce.commissionSettings.actions.create.response.200.splitPlans`; array of object, required)
  - `companyName` (`commerce.commissionSettings.actions.create.response.200.splitPlans.companyName`; string, required)
    - minLength: `1`
  - `createdAt` (`commerce.commissionSettings.actions.create.response.200.splitPlans.createdAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
  - `createdByUserId` (`commerce.commissionSettings.actions.create.response.200.splitPlans.createdByUserId`; any of, required)
    - any of the following: `string`, `null`
  - `name` (`commerce.commissionSettings.actions.create.response.200.splitPlans.name`; string, required)
    - maxLength: `100` · minLength: `1`
  - `rules` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules`; array of object, required)
    - `basis` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.basis`; any of, required)
      - any of the following:
        - `string`: one of `"GROSS"`, `"NET_OF_FEES"`, `"NET_OF_HOST"`
        - `null`
    - `beneficiaryId` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.beneficiaryId`; any of, required)
      - any of the following: `string`, `null`
    - `beneficiaryKind` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.beneficiaryKind`; any of, required)
      - any of the following:
        - `string`: one of `"HOST"`, `"AGENCY"`, `"ADVISOR"`, `"REFERRER"`
        - `null`
    - `feeBearer` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.feeBearer`; any of, required)
      - any of the following:
        - `string`: one of `"HOUSE"`, `"ADVISOR"`, `"PRO_RATA"`
        - `null`
    - `kind` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.kind`; string, required)
      - one of `"SHARE"`, `"MARKUP"`
    - `priority` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.priority`; integer, required)
      - maximum: `1000` · minimum: `0`
    - `ruleId` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.ruleId`; string, required)
      - pattern: `^[A-Za-z0-9_-]{1,64}$`
    - `scopeKind` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.scopeKind`; string, required)
      - one of `"ALL"`, `"CATEGORY"`, `"SUPPLIER"`, `"ITEM_KIND"`, `"IDENTIFIER"`
    - `scopeValue` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.scopeValue`; any of, required)
      - any of the following: `string`, `null`
    - `shareBps` (`commerce.commissionSettings.actions.create.response.200.splitPlans.rules.shareBps`; integer, required)
      - maximum: `10000` · minimum: `0`
  - `splitPlanId` (`commerce.commissionSettings.actions.create.response.200.splitPlans.splitPlanId`; string, required)
    - minLength: `1`

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.commissionSettings.actions.create.response.400.errorCode`; string, required)
- `errorMessage` (`commerce.commissionSettings.actions.create.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.commissionSettings.actions.create.response.401.errorCode`; string, required)
- `errorMessage` (`commerce.commissionSettings.actions.create.response.401.errorMessage`; string, required)

### 403

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`commerce.commissionSettings.actions.create.response.403.errorCode`; string, required)
- `errorMessage` (`commerce.commissionSettings.actions.create.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Commerce/commerce.commissionSettings.actions.create/index.md
