Affiliate Program

Deactivate an affiliate.

Suspend one affiliate's membership: their referral link stops crediting new orders to them. Commissions already recorded and payouts are not changed; pending commissions are still paid. By default they earn no commission on new or renewal orders from now on; send keepCommission true to let renewals of customers they already referred keep earning them commission. Deactivating an affiliate who is already deactivated changes only that choice.

post/api/v1/affiliate-program/affiliates/{membershipId}/deactivate

Request

  • Base URL: https://api-dev.fusehealth.com
  • URL: https://api-dev.fusehealth.com/api/v1/affiliate-program/affiliates/{membershipId}/deactivate
  • Auth: API key in header x-api-key

Path parameters

membershipIdstring required

Request body

keepCommissionboolean

Keep paying commission on renewals of customers this affiliate already referred while they are deactivated. Default false.

Response

Success

successboolean
messagestring
dataunknown

Changes

No recorded changes to this operation across all 1 revision of this API.