Last updated 3 months ago
Logs the vendor out of the system.
POST /backend/api/vendor/logout HTTP/1.1 Host: 139.59.67.17 Accept: */*
Successfully logged out
<?xml version="1.0"?> <object> <status>1</status> <message>Successfully Logout</message> </object>
Authenticates the vendor and logs them into the system.
test@gmail.com
Welcome176
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='test@gmail.com'&password='Welcome176'"
Successfully logged in
<?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.
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='test@gmail.com'"
Reset password link sent successfully
<?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.
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='test@gmail.com'"
OTP sent successfully
<?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.
picco
1
dfhbdshf@
235434
true
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='test@gmail.com'&lastName=''&companyName='picco'&firstName='picco'&industryId=1&password='dfhbdshf@'&otp='235434'&tsc=true"
Vendor registration successful
<?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>