User/Customer Register
User/Customer can register by User/Customer register route, User/Customer register route allow only POST Method
https://ecom.coderorbit.com/public/api/register
headers:{
"Accept": "application/json",
"App-Master-Key": `${app_token}`
}
body: {
"name": "", // required
"email": "", // required
"password": "", // required
"password_confirmation": "", // required
"country_id": "", // required
"extend_props": {
"other_info_1": "other value one",
"other_info_2": "other value two",
.....
}
}
### Result
{
"access_token": "....",
"token_type": "Bearer",
"user_data": {
"name": "",
"email": "",
"country_id": "",
"status": "",
"extend_props": {
"other_info_1": "other value one",
"other_info_2": "other value two"
},
"unique_id": "",
"otp": "",
"extend_props": null,
"updated_at": "",
"created_at": "",
"id": ""
}
}