POST
/
merchant
/
member
/
new_member
curl --request POST \
  --url https://api.unibee.top/merchant/member/new_member \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "roleIds": [
    123
  ]
}'
{
  "code": 123,
  "data": {},
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Will send email to member email provided, member can enter admin portal by email otp login

email
string
required

The email of member

roleIds
integer[]
required

The id list of role

firstName
string

The firstName of member

lastName
string

The lastName of member

Response

200 - application/json
code
integer
data
object
message
string
redirect
string
requestId
string