Add new locationsin openclassified

To add new locations in OpenClassified, you can follow these steps:

Method 1: Using the Location Manager

  1. Log in to your OpenClassified account and go to the Location Manager page.
  2. Click on the Add Location button.
  3. Enter the name of the new location in the Location Name field.
  4. Select the Country, State/Province, and City from the dropdown menus.
  5. Enter the Latitude and Longitude coordinates of the location (optional).
  6. Click the Add Location button to save the new location.

Method 2: Using the Location CSV Import

  1. Download the OpenClassified Location CSV template from the Location Manager page.
  2. Fill in the template with the new location information, following the format specified in the template.
  3. Save the CSV file with a .csv extension (e.g., new_locations.csv).
  4. Go to the Location Manager page and click on the Import Locations button.
  5. Select the CSV file you just created and click the Import button.
  6. The new locations will be added to OpenClassified.

Method 3: Using the OpenClassified API

  1. 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.
  2. 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 and longitude: The coordinates of the new location (optional).
  3. 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.