NOTE: User must be logged in as admin to access this API
URL: api/location
Method: POST
Query Parameters :
| Parameter | Type | Possible Values | Required/Optional | Description |
| title | String | Indiranagar | Required | Location Name |
| phone | Integer | 1478523690 | Optional | Phone of the Location |
| address | Text | No 68, First Floor | Optional | Address of the location |
| country_id | Integer | 1 | Optional | Select Country ID based on Country List Api |
| state_id | Integer | 145 | Optional | State ID from State List Api |
| pincode | Integer | 142514 | Optional | Pin Code Of Location |
| city | Integer | Banglore | Optional | City Of Location |
Response:
{
"success": true,
"message":"Location Created Successfully"
}