post https://example.com/app-api/campaign/
All the properties are optional, only the supplied properties are changed.
Notice that when changing the customer, it will apply the new customer discounts automatically.
When changing or setting agency/intermediator, by default, commissions will be set to the values found in the agency/intermediator again. Even if the commission was set on the flight. Updating agency/intermediator to null
will, by default, set the commissions to 0
and the commissionStatus
as well to 0
.
When agency/intermediator are sent in the body and you don't want to update the commissions you can use the query parameter update_commissions=0
.