Skip to main content

Customer Signin

This API allows customers to sign in into the store.

Request Body required
  • email string

    The email address of the customer.

  • mobile object
  • code string required

    Unique numeric country code

  • number string required

    The valid phone number of the customer.

  • password string required

    Possible values: >= 6 characters and <= 24 characters

    The password of the customer, should be greater than or equal to 8 characters and less than or equal to 32 characters.

  • referralCode string

    The referral code received from the other user.

  • referredBy string

    The unique id of the referrer.

Responses

Success response


{
"statusCode": 200,
"data": {
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2MzJjMzQ3NTIyNjlmMTJjNTc5NTIyNzMiLCJpYXQiOjE2NjM4NDMyODAsImV4cCI6MTY2Mzg0Njg4MH0.zo2mIgKO_uHYiENpSPhOfMJf_zZFQb66BhB4sjU0Lec",
"tokenType": "Bearer",
"expiresIn": 3600
}
}