View Profile

GET /backend/open-api/v1/affiliates/me

View profile details. Affiliate ID is specified in the token settings.

Headers

Name Value
Authorization Bearer <token>

Response

{
    "data": {
        "id": 227,
        "first_name": "Brad",
        "last_name": "Young",
        "name": "Brad Young",
        "email": "[email protected]",
        "phone": "12313123",
        "ms_teams": "Excepturi duis sit1",
        "whatsapp": "WhatsAppnickname",
        "telegram": "141414141"
    }
}

Edit Profile

PUT /backend/open-api/v1/affiliates/me

Edit your profile details.

Headers

Name Value
Content-Type application/json
Authorization Bearer <token>

Body parameters

Name Type Description Required
first name String Name of the affiliate
last name String Last name of the affiliate
name String Affiliate's company name
email String affiliate's email address
phone String Affiliate's phone number
ms_teams String Affilaite's Microsoft Teams account (formerly Skype)
whatsapp String Affiliate’s WhatsApp account
telegram String Affiliate's Telegram ID

Request body

{
        "first_name": "Brad",
        "last_name": "Young",
        "name": "Brad Young",
        "email": "[email protected]",
        "phone": "12313123",
        "ms_teams": "Excepturi duis sit1",
        "whatsapp": "WhatsAppnickname",
        "telegram": "141414141"
    }