Vendor
Authenticates the vendor and logs them into the system.
Body
emailIdstringRequiredExample:
[email protected]passwordstringRequiredExample:
Welcome176Responses
200
Successfully logged in
400
Invalid login credentials
500
Internal server error
post
/vendor/loginSends 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
/vendor/forgot-password-linkSends 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
/vendor/send-otpRegisters a new vendor with necessary details like email, name, company, and OTP.
Body
emailIdstringRequiredExample:
[email protected]lastNamestringOptional
companyNamestringRequiredExample:
piccofirstNamestringRequiredExample:
piccoindustryIdintegerOptionalExample:
1passwordstringRequiredExample:
dfhbdshf@otpstringRequiredExample:
235434tscbooleanRequiredExample:
trueResponses
200
Vendor registration successful
400
Bad Request
500
Internal server error
post
/vendor/registerLast updated