πŸ“§Update Email Info

Enroll Allow You to Add Multiple Emails For Each Customer

  1. Verify Password

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
passwordstring | nullableOptional
updateStepIdinteger Β· enumOptionalPossible values:
Responses
200
Success
post
POST /api/v1/update/UpdateRequest/VerifyPassword HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "password": "text",
  "updateStepId": 1
}
{
  "status": 0
}

Get All Applicant Emails

get
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Responses
200
Success
get
GET /api/v1/update/UpdateEmailInfo/GetApplicantEmails HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": 1,
    "email": "text",
    "isDefault": true
  }
]

You Can Add Or Delete New Email Or You Can Update Existing Email

Add New Email :

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
emailstring | nullableOptional
Responses
200
Success
post
POST /api/v1/update/UpdateEmailInfo/Add HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "email": "text"
}
{
  "id": 1
}

Update Email

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
idinteger Β· int32Optional
updatedEmailstring | nullableOptional
Responses
200
Success
post
POST /api/v1/update/UpdateEmailInfo/Update HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "id": 1,
  "updatedEmail": "text"
}
{
  "id": 1
}

Send OTP :

After Adding Or Updating Phone You Must Send Otp To Verify New Phone

post
Authorizations
Query parameters
idinteger Β· int32Optional
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Responses
200
Success
post
POST /api/v1/update/UpdateEmailInfo/SendOTP HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "status": 0
}

Validate OTP :

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
idinteger Β· int32Optional
otpstring | nullableOptional
oldEmailstring | nullableOptional
Responses
200
Success
post
POST /api/v1/update/UpdateEmailInfo/ValidateOTP HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39

{
  "id": 1,
  "otp": "text",
  "oldEmail": "text"
}
{
  "status": 0
}

Delete Email:

post
Authorizations
Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer <Replace Token From Third Step (Select Step)>

Body
emailstring | nullableOptional
Responses
200
Success
post
POST /api/v1/update/UpdateEmailInfo/Archieve HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "email": "text"
}

No content

Last updated