Set the flight's commission

Careful: Updating the campaign with a new agency/intermediator or with the same agency/intermediator will recalculate the commissions of that agency/intermediator and overwrite the flight commission set here.

Read details in the update campaign endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

External ID of a campaign. See: Good and Bad External IDs

string
required

External ID of a flight. See: Good and Bad External IDs

Body Params

Represents the commission values for a flight

number

Percentage of the BK (only set either percentage or amount)

number

Amount of the BK (only set either percentage or amount)

string
enum

The type of the intermediator commission, this value will update on campaign level

Allowed:
number

Percentage of the vmk (only set either percentage or amount)

number

Amount of the vmk (only set either percentage or amount)

Responses
204

Commission was updated successfully

400

Returns a list of errors in the input data. For this call the following violation codes can be expected

  • 6e40c9b1-7f75-4a3a-8149-26adecd9a5d4 - Commission update failed: Please provide either a percentage or amount for the commissions but not both
  • 504d6c75-bacb-4319-ad0a-e942a30904f7 - Error: Delta-Invoice exists
  • 407eebae-cb0c-49fd-9708-4312452133ee - Cannot change commission because flight is already invoiced
404

The campaign does not exist

Language
LoadingLoading…
Response
Choose an example:
application/json