PUT /channel-commission-rates/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
Channel
-
Commission rate
Default value is
0
. -
Commission rate type
Values are
percentage
orfixed
. Default value ispercentage
. -
createdAt string(date-time)
Created at
-
Dropship provider
-
Filter type
Values are
tags
ornone
. Default value isnone
. -
id integer(int32)
Id
-
updatedAt string(date-time)
Updated at
PUT /channel-commission-rates/{id}.json
curl \
-X PUT http://api.example.com/v1/channel-commission-rates/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":42,"commissionRate":0,"commissionRateType":"percentage","createdAt":"2024-05-04T09:42:00+00:00","dropshipProviderId":42,"filterType":"none","id":42,"tags":["string"],"updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"channelId": 42,
"commissionRate": 0,
"commissionRateType": "percentage",
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"filterType": "none",
"id": 42,
"tags": [
"string"
],
"updatedAt": "2024-05-04T09:42:00+00:00"
}