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.

application/json

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 or fixed. Default value is percentage.

  • createdAt string(date-time)

    Created at

  • dropshipProviderId integer(int32) Required

    Dropship provider

  • filterType string | null Required

    Filter type

    Values are tags or none. Default value is none.

  • id integer(int32)

    Id

  • tags array[string] | null

    Tags

  • updatedAt string(date-time)

    Updated at

PUT /channel-commission-rates/{id}.json
curl \
 --request PUT 'http://api.example.com/v1/channel-commission-rates/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"channelId":42,"commissionRate":0,"commissionRateType":"percentage","createdAt":"2025-05-04T09:42:00Z","dropshipProviderId":42,"filterType":"none","id":42,"tags":["string"],"updatedAt":"2025-05-04T09:42:00Z"}'
Request examples
{
  "channelId": 42,
  "commissionRate": 0,
  "commissionRateType": "percentage",
  "createdAt": "2025-05-04T09:42:00Z",
  "dropshipProviderId": 42,
  "filterType": "none",
  "id": 42,
  "tags": [
    "string"
  ],
  "updatedAt": "2025-05-04T09:42:00Z"
}