Vendor

Vendor Logout API

post

Logs the vendor out of the system.

Responses
200

Successfully logged out

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>

Vendor Login API

post

Authenticates the vendor and logs them into the system.

Body
emailIdstringRequiredExample: [email protected]
passwordstringRequiredExample: Welcome176
Responses
200

Successfully logged in

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>
put

Sends a reset password link to the vendor's email address.

Body
emailIdstringRequiredExample: [email protected]
Responses
200

Reset password link sent successfully

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>

Vendor Send OTP API

post

Sends an OTP to the provided email address for vendor authentication.

Body
emailIdstringRequiredExample: [email protected]
Responses
200

OTP sent successfully

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>

Vendor Register API

post

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

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