Vendor
Logs the vendor out of the system.
Responses
200
Successfully logged out
400
Invalid request parameters
500
Internal server error
post
POST /backend/api/vendor/logout HTTP/1.1
Host: 139.59.67.17
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Logout</message>
</object>
Authenticates the vendor and logs them into the system.
Body
emailIdstringRequiredExample:
[email protected]
passwordstringRequiredExample:
Welcome176
Responses
200
Successfully logged in
400
Invalid login credentials
500
Internal server error
post
POST /backend/api/vendor/login HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 52
"emailId='[email protected]'&password='Welcome176'"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Logged In successfully</message>
</object>
Sends a reset password link to the vendor's email address.
Body
emailIdstringRequiredExample:
[email protected]
Responses
200
Reset password link sent successfully
400
Invalid email or request
500
Internal server error
put
PUT /backend/api/vendor/forgot-password-link HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28
"emailId='[email protected]'"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Reset Password link has been sent to your email inbox.</message>
</object>
Sends an OTP to the provided email address for vendor authentication.
Body
emailIdstringRequiredExample:
[email protected]
Responses
200
OTP sent successfully
400
Bad Request
500
Internal server error
post
POST /backend/api/vendor/send-otp HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28
"emailId='[email protected]'"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>OTP successfully sent to the provided email address</message>
</object>
Registers a new vendor with necessary details like email, name, company, and OTP.
Body
emailIdstringRequiredExample:
[email protected]
lastNamestringOptional
companyNamestringRequiredExample:
picco
firstNamestringRequiredExample:
picco
industryIdintegerOptionalExample:
1
passwordstringRequiredExample:
dfhbdshf@
otpstringRequiredExample:
235434
tscbooleanRequiredExample:
true
Responses
200
Vendor registration successful
400
Bad Request
500
Internal server error
post
POST /backend/api/vendor/register HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 148
"emailId='[email protected]'&lastName=''&companyName='picco'&firstName='picco'&industryId=1&password='dfhbdshf@'&otp='235434'&tsc=true"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Thank you for expressing your interest and registering for selling your products. Kindly wait for admin approval</message>
</object>
Last updated