Skip to main content
PATCH
Update a commission

Authorizations

X-Api-Key
string
header
required

Your API key, from your Tapfiliate account settings.

Path Parameters

commission_id
number
required

Numeric id of the commission to perform action with.

Body

application/json
amount
number

The new amount for the commission

Example:

30.55

comment
string

A comment for this commission. The comment will be visible to the affiliate

Example:

"\"foo bar\""

approved
boolean

Approve or disapprove commission

Example:

true

conversion_sub_amount
number

The new value for the commission and it's conversion (will be recalculated)

Example:

50.01

Response

OK

id
number
amount
number
approved
boolean
created_at
string
commission_type
string
conversion_sub_amount
number
comment
string
conversion
object
payout
unknown
affiliate
object
kind
string
currency
string
final
unknown
finalization_date
unknown
commission_name
string