Vendor Authentication
Authenticating Vendors
Create Vendor
POST
https://switch-api-staging.herokuapp.com/vendor/register
This endpoint registers a Vendor and returns a valid token for sessions .
Request Body
Name
Type
Description
category
string
vendor category
name
string
Name of Vendor
string
email of vendor
password
string
preferred password of Vendor
Login Vendor
POST
https://switch-api-staging.herokuapp.com/vendor/login
This endpoint authenticate the vendor and returns a token used for sessions
Request Body
Name
Type
Description
password
string
Vendor password
string
vendor email
Forgot Password
POST
https://switch-api-staging.herokuapp.com/vendor/forgot_password
Request Body
Name
Type
Description
string
Reset Password
GET
https://switch-api-staging.herokuapp.com/vendor/reset_password
Path Parameters
Name
Type
Description
reset_password_token
string
token attached to reset link
Request Body
Name
Type
Description
password
string
new password for vendor
Last updated
Was this helpful?