Affiliates

Update affiliate

put/affiliates/{email}

Request

  • Base URL
    https://refgrow.com/api/v1
  • Auth
    HTTP bearer

Request body

emailstring email
referral_codestring
status'active' | 'inactive' | 'suspended'
partner_slugstring
payout_method'paypal' | 'wise' | 'manual'
paypal_emailstring email
payment_methodstring
payment_detailsstring

Response

Updated

successboolean

Example response

{
  "data": {
    "id": 42,
    "user_email": "alice@example.com",
    "referral_code": "ALICE10",
    "partner_slug": "alice",
    "status": "active",
    "clicks": 124,
    "signups": 8,
    "purchases": 3,
    "total_earnings": "245.50",
    "unpaid_earnings": "45.50",
    "payment_method": "PayPal",
    "payment_details": "alice@paypal.com"
  }
}

Changes

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