---
title: "Update per-affiliate rate overrides / payout details."
method: PATCH
path: "/api/v1/affiliate-program/affiliates/{membershipId}"
tags: ["Affiliate Program"]
---

# Update per-affiliate rate overrides / payout details.

`PATCH /api/v1/affiliate-program/affiliates/{membershipId}`

## Request

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

Update per-affiliate rate overrides / payout details.

## Path parameters

- `membershipId` string, required

## Request body

- object
  - `firstOrderRate` integer
  - `commissionRate` integer
  - `payoutContactMethod` string
  - `payoutNotes` string
  - `commissionAfterDeactivation` boolean: While the affiliate is deactivated, whether orders that still carry them (renewals of customers they already referred) keep earning them commission. Default false. A removed affiliate never earns new commission.

## Response `200`

Success

- object
  - `success` boolean
  - `message` string
  - `data` unknown

## Other responses

- `401`: Missing, invalid, inactive, or expired API key (or JWT)
- `403`: Authenticated but not permitted (insufficient scope, wrong role, or FUSE feature not enabled)
- `404`: Resource not found (or not owned by the key's clinic)

---

[API](https://skmtc.dev/fusehealth/apis/fuse-brand-api-external.md) · [All operations](https://skmtc.dev/fusehealth/apis/fuse-brand-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/fusehealth/apis/fuse-brand-api-external/revisions/50821832728c?raw)
