Update commission plan (PATCH)
Partially updates an existing commission plan. Commission types disabled in company settings cannot be submitted. cpa.hold_period and cpl.hold_period are validated independently against their own company toggles. Past dates are accepted for flat_fee.commission.start_date. Deleted affiliates in assigned_to are ignored instead of triggering validation errors.
Authorizations
Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.
Path Parameters
Commission plan ID.
Body
Commission plan status to set: 1=active, 2=paused, 3=inactive. 4=deleted is a stored value only - it is set by DELETE /api/v2/network/commission-plan/{id}, and sending it here is rejected with 422 (CommissionPlanForm validates against CommissionPlanListHelper::getStatuses(), which lists 1/2/3). Note the deleted code is 4 here, unlike the 5 used by offers, affiliates and advertisers.
Currency code. Only accepted when native_currency_commissions is ON. Null or omitted = Brand Currency.
Affiliate IDs. Deleted affiliates are ignored during validation and are removed from existing assignments on update.
Fixed recurring or one-time fee. Past dates are accepted for commission.start_date.