PUT /channel-commission-rates/{id}.json
PUT
/channel-commission-rates/{id}.json
Path parameters
-
id integer(int64) Required
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
channelId integer(int32) Required
Channel
-
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
-
dropshipProviderId integer(int32) Required
Dropship provider
-
filterType string | null Required
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 "Content-Type: application/json" \
-d '{"channelId":42,"commissionRate":0,"commissionRateType":"percentage","createdAt":"2023-05-04T09:42:00+00:00","dropshipProviderId":42,"filterType":"none","id":42,"tags":["string"],"updatedAt":"2023-05-04T09:42:00+00:00"}'
Request example
{
"channelId": 42,
"commissionRate": 0,
"commissionRateType": "percentage",
"createdAt": "2023-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"filterType": "none",
"id": 42,
"tags": [
"string"
],
"updatedAt": "2023-05-04T09:42:00+00:00"
}