Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
commissionRate
number | null Required Commission rate
Default value is
0
. -
commissionRateType
string | null Required Commission rate type
Values are
percentage
orfixed
. Default value ispercentage
. -
createdAt
string(date-time) Created at
-
enabled
boolean | null Required Enabled
Default value is
true
. -
id
integer(int32) Id
-
referredResellerId
integer(int32) Required Referred reseller
-
resellerId
integer(int32) Required Reseller
-
updatedAt
string(date-time) Updated at
PUT
/reseller-commissions/{id}.json
curl \
--request PUT 'http://api.example.com/v1/reseller-commissions/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"commissionRate":0,"commissionRateType":"percentage","createdAt":"2025-05-04T09:42:00Z","enabled":true,"id":42,"referredResellerId":42,"resellerId":42,"updatedAt":"2025-05-04T09:42:00Z"}'
Request examples
{
"commissionRate": 0,
"commissionRateType": "percentage",
"createdAt": "2025-05-04T09:42:00Z",
"enabled": true,
"id": 42,
"referredResellerId": 42,
"resellerId": 42,
"updatedAt": "2025-05-04T09:42:00Z"
}