POST /channel-commission-rates.json
Body Required
-
Channel
-
Commission rate
Default value is
0
. -
Commission rate type
Values are
percentage
orfixed
. Default value ispercentage
. -
Dropship provider
-
Filter type
Values are
tags
ornone
. Default value isnone
.
POST
/channel-commission-rates.json
curl \
-X POST http://api.example.com/v1/channel-commission-rates.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":42,"commissionRate":0,"commissionRateType":"percentage","dropshipProviderId":42,"filterType":"none","tags":["string"]}'
Request example
{
"channelId": 42,
"commissionRate": 0,
"commissionRateType": "percentage",
"dropshipProviderId": 42,
"filterType": "none",
"tags": [
"string"
]
}
Response examples (200)
{
"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"
}