Creates a commission on a given tier.
POST
/tiers/{tierId}/commissions
curl \
--request POST 'http://api.example.com/tiers/{tierId}/commissions' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"id":"string (UUID)","agentId":"string (UUID)","officeName":"string","prefix":"string","firstName":"string","middleName":"string","lastName":"string","suffix":"string","endCode":"string","endCount":"number (float)","primary":"boolean","amount":"number (float)","percentage":"number (float)","calculationMethod":"string"}'
Request example
{
"id": "string (UUID)",
"agentId": "string (UUID)",
"officeName": "string",
"prefix": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"suffix": "string",
"endCode": "string",
"endCount": "number (float)",
"primary": "boolean",
"amount": "number (float)",
"percentage": "number (float)",
"calculationMethod": "string"
}
Response examples (201)
{}
Response examples (409)
{
"code": 42,
"message": "string",
"details": [
"string"
]
}