Customer

Customer Login

post
/customer/login

This endpoint allows customers to log in using their email, password, and other login information.

Header parameters
keystringOptional

The unique key for the request.

Default: 8097571064818418
Body
emailIdstringOptional

The email address of the customer.

passwordstringOptional

The password associated with the customer's account.

typestringOptional

The type of login (e.g., 'normal', 'social').

tokenstringOptional

An optional token for additional authentication.

Responses
chevron-right
200

Successfully logged in.

post
/customer/login
get
/customer/forgot-password-link

Send a password reset link to the user's registered email address.

Query parameters
emailstringRequired

The email address of the user who needs to reset their password.

Header parameters
AuthorizationstringOptional

Optional Bearer token for authentication.

industrystringOptional

The industry of the user.

Default: electronics
keystringOptional

The unique key for the request.

Default: 8097571064818418
languagekeystringOptional

The language key for the request.

Default: 57
Responses
chevron-right
200

Password reset link sent successfully

get
/customer/forgot-password-link

Send OTP to the user's email

post
/customer/send-otp

Send a One-Time Password (OTP) to the provided email address for verification purposes.

Header parameters
AuthorizationstringOptional

Optional Bearer token for authentication.

industrystringOptional

The industry of the user.

Default: electronics
keystringOptional

The unique key for the request.

Default: 8097571064818418
languagekeystringOptional

The language key for the request.

Default: 57
Body
emailIdstringOptionalExample: [email protected]
Responses
chevron-right
200

OTP sent successfully

post
/customer/send-otp

Logout from the system

post
/customer/logout

Logs the user out of the system.

Header parameters
AuthorizationstringOptional

Optional Bearer token for authentication.

industrystringOptional

The industry of the user.

Default: electronics
keystringOptional

The unique key for the request.

Default: 8097571064818418
languagekeystringOptional

The language key for the request.

Default: 57
Responses
chevron-right
200

Successfully logged out

post
/customer/logout

Register a new customer

post
/customer/register

Registers a new customer by providing necessary details like name, email, password, etc.

Header parameters
AuthorizationstringOptional

Optional Bearer token for authentication.

industrystringOptional

The industry of the user.

Default: electronics
keystringOptional

The unique key for the request.

Default: 8097571064818418
languagekeystringOptional

The language key for the request.

Default: 57
Body
firstNamestring · max: 32Optional

Customer's first name

lastNamestring · max: 32Optional

Customer's last name

passwordstring · min: 8 · max: 128Optional

Password for the customer account

confirmPasswordstringOptional

Password confirmation

emailIdstring · max: 96Optional

Customer's email address

phoneNumberstring · max: 15Optional

Customer's phone number

Responses
chevron-right
200

Customer successfully registered

post
/customer/register

Last updated