Affiliates
Update Affiliate
Update an existing affiliate
PUT
Path Parameters
The unique identifier of the affiliate to update
Body Parameters
All body parameters are optional. Only include the fields you want to update.Update the affiliate’s display name. Must be between 1 and 100 characters.
Update the affiliate’s email address. Must be a valid email format. If the email is already in use by another user, the request will fail with a conflict error.
Affiliate group ID (null to remove).
Company name for invoice. Maximum 100 characters. Set to
null to clear.2-letter ISO country code. Set to
null to clear.Payout method (none to remove). Valid values:
paypal, wise, payoneer, paxum, webmoney, skrill, wire_transfer, bitcoin, ethereum, alipay, wechat, manual, none.Payout details (snake_case fields). The required fields depend on the
payout_method:- Email-based methods (
paypal,wise,payoneer,paxum,skrill):email(string, valid email) - ID-based methods (
webmoney,alipay,wechat):account_id(string) - Crypto methods (
bitcoin,ethereum):address(string, wallet address) - Wire transfer (
wire_transfer):bank_name,account_number,swift_code,iban,routing_number,account_name(all strings) - Manual (
manual): No details required
Partnership approval status. Valid values:
pending, approved, rejected.Your external user ID for linking referral users to your own user system. Set to
null to clear.Custom key-value data for storing additional information about the affiliate. Set to
null to clear.Response
The response includes the updated affiliate object with the same structure as the create endpoint.Always
true for successful responsesThe updated affiliate object.
GET /v1/affiliates/{id}?expand=promoCodes,commissionOverrides,invoiceDetails,payoutMethod.