PUT /reseller-commissions/{id}.json

PUT /reseller-commissions/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /reseller-commissions/{id}.json
curl \
 -X PUT http://api.example.com/v1/reseller-commissions/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"commissionRate":0,"commissionRateType":"percentage","createdAt":"2024-05-04T09:42:00+00:00","enabled":true,"id":42,"referredResellerId":42,"resellerId":42,"updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
  "commissionRate": 0,
  "commissionRateType": "percentage",
  "createdAt": "2024-05-04T09:42:00+00:00",
  "enabled": true,
  "id": 42,
  "referredResellerId": 42,
  "resellerId": 42,
  "updatedAt": "2024-05-04T09:42:00+00:00"
}