Zum Hauptinhalt springen

Set, change or turn off the programme's level-2 rate

PATCH 

/api/v1/programs/:id/level2

Every approved partner with no own rate recruits and earns this rate on the payments of the customers of the partners they recruited; a partner's own rate overrides it, and an own rate of 0 excludes the partner. A changed rate applies to the claims of the partners on it only with scope: all_customers; by default (new_customers) they keep their rate. null turns it off: those partners stop recruiting, and their claims keep paying unless stopClaims is true. removeEqualOwnRates on turning it on clears the own rates equal to it. Commissions already created keep their rate.

Request​

Responses​

The saved programme state