POST /reseller-commissions.json

POST /reseller-commissions.json
application/json

Body Required

Responses

  • 200

    Successful response

    Hide response attributes Show response attributes object
POST /reseller-commissions.json
curl \
 -X POST http://api.example.com/v1/reseller-commissions.json \
 -H "Content-Type: application/json" \
 -d '{"commissionRate":0,"commissionRateType":"percentage","enabled":true,"referredResellerId":42,"resellerId":42}'
Request example
{
  "commissionRate": 0,
  "commissionRateType": "percentage",
  "enabled": true,
  "referredResellerId": 42,
  "resellerId": 42
}
Response examples (200)
{
  "commissionRate": 0,
  "commissionRateType": "percentage",
  "createdAt": "2023-05-04T09:42:00+00:00",
  "enabled": true,
  "id": 42,
  "referredResellerId": 42,
  "resellerId": 42,
  "updatedAt": "2023-05-04T09:42:00+00:00"
}