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",
        "skype": "Excepturi duis sit1",
        "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 [ ]
skype String Affilaite's Skype. [ ]
telegram String Affiliate's Telegram ID. [ ]

Request body

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