Ecommerce
Login

Login

Vendor, Admin, Customer login by login route, login route allow only POST Method

https://ecom.coderorbit.com/public/api/login
 
headers:{ 
    "Accept": "application/json",
    "App-Master-Key": `${app_token}`
}
 
# vendor always status inactive register, approved by admin
 
body: {
 
    "email": "", // required
    "password": "" // required
    
}

### Result

 
{
    "access_token": "...",
    "token_type": "Bearer",
    "user_data": {
        "id": 1,
        "role_id": 1,
        "country_id": 18,
        "name": "...",
        "email": "...",
        "extend_props": null,
        "email_verified_at": null,
        "created_at": "",
        "updated_at": "",
        "unique_id": "",
        "otp": 388103,
        "status": 1,
        "description": null,
        "created_by": 0,
        "updated_by": 0,
        "deleted_at": null
    }
}
 

Forget Password

Vendor, Admin, Customer forget password by forget password route, forget password route allow only POST Method

Forget password will send a pin code by mail so must you have filed to the mail configuration by Check here

https://ecom.coderorbit.com/public/api/login
 
headers:{ 
    "Accept": "application/json",
    "App-Master-Key": `${app_token}`
}
 
 
body: {
 
    "email": "", // required
    "password": "" // required
    
}

### Result

    {
        "message": "We send you a verifaction code in this mail {inputMail} please check",
        "send": "success",
        "user_data": {
            "id": 14,
            "role_id": 2,
            "country_id": 1,
            "name": "shohagh",
            "email": "",
            "extend_props": null,
            "email_verified_at": null,
            "unique_id": "",
            "otp": 439523,
            "created_by": null,
            "description": null,
            "status": 1,
            "updated_by": null,
            "created_at": "2023-05-14T21:46:22.000000Z",
            "updated_at": "2023-05-17T02:32:34.000000Z",
            "deleted_at": null
        }
    }
 

Reset Password

Vendor, Admin, Customer reset password by reset password route, reset password route allow only POST Method

https://ecom.coderorbit.com/public/api/resetPassword
 
headers:{ 
    "Accept": "application/json",
    "App-Master-Key": `${app_token}`
}
 
 
body: {
 
    "password": "", // required
    "password_confirmation": "", // required
    "otp": "", // required
    
}

### Result

    {
        "message": "Password Reset",
        "send": "success"
    }
CODER ORBIT
Bangladesh Office:
Call: 01534-645492
11/C, House-01, Lane-10
Road-11, Dhaka 1216
Email: support@coderorbit.com
Others
Domain & Hosting
Course
Debug
Portfolio
FOLLOW US
SUBSCRIBE US
Subscribe
2018 - 2024 Copyright © Coder Orbit. All rights reserved.