POST
/
admin
/
commission
/
rules
{
  "commission_rule": {
    "id": "<string>",
    "name": "<string>",
    "reference": "<string>",
    "reference_id": "<string>",
    "is_active": true,
    "rate": {
      "id": "<string>",
      "type": "flat",
      "percentage_rate": 123,
      "include_tax": true,
      "price_set_id": "<string>",
      "min_price_set_id": "<string>",
      "max_price_set_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Created

The response is of type object.