Add new locationsin openclassified
To add new locations in OpenClassified, you can follow these steps:
Method 1: Using the Location Manager
- Log in to your OpenClassified account and go to the Location Manager page.
- Click on the Add Location button.
- Enter the name of the new location in the Location Name field.
- Select the Country, State/Province, and City from the dropdown menus.
- Enter the Latitude and Longitude coordinates of the location (optional).
- Click the Add Location button to save the new location.
Method 2: Using the Location CSV Import
- Download the OpenClassified Location CSV template from the Location Manager page.
- Fill in the template with the new location information, following the format specified in the template.
- Save the CSV file with a
.csv
extension (e.g.,new_locations.csv
). - Go to the Location Manager page and click on the Import Locations button.
- Select the CSV file you just created and click the Import button.
- The new locations will be added to OpenClassified.
Method 3: Using the OpenClassified API
- You can also add new locations using the OpenClassified API. You'll need to send a POST request to the
/locations
endpoint with the location information in the request body. - The API endpoint expects the following parameters:
name
: The name of the new location.country
: The country of the new location.state_province
: The state or province of the new location.city
: The city of the new location.latitude
andlongitude
: The coordinates of the new location (optional).
- You can use a tool like Postman or cURL to send the API request.
Remember to always follow the OpenClassified guidelines and terms of service when adding new locations to the platform.