TravelOpsPro Documentation
Browse documentation

Manage countries, states, cities, and tags

Maintain the shared location catalogue and the tags used to label packages, including filters, cascades, deletion, and restore.

User guideMasters & LookupsFor: Agency Owner, Agency Manager, Agency Sales, Agency Operations, Agency Viewer, Platform Admin, Platform SupportLast verified: 2026-11-01Any active plan that includes Lookups

Countries, states, and cities are the shared location catalogue used by destinations, sites, and agency addresses. Tags are flexible labels that help you group and filter packages.

The location catalogue is platform-managed: agency users can read it, but only Platform Admin can add or change entries. Tags can be global or agency-owned, and owners and managers can maintain their agency's tags.

The shared countries catalogue
Countries, states, and cities are platform-managed shared records.

At a glance

Who it is forWhat it doesWhat changesAvailability
Agency staff and platform operatorsMaintains the location catalogue and package tagsAdds, edits, deletes, and restores locations or tags, subject to roleLookups module access

Before you start

  • Your plan must include the Lookups module.
  • For locations, your role must include location access. Owners, managers, sales, operations, and viewers can read locations; the accountant cannot open the Locations menu. Only Platform Admin can create, edit, delete, or restore locations.
  • For tags, owners and managers can create, edit, delete, and restore agency tags. Sales and operations can read tags. Agency Accountant and Agency Viewer cannot open Tags. Platform Admin can manage every tag; Platform Support can read them.
  • For a city, confirm the parent state exists. For a state, confirm the parent country exists.

Steps

Create or edit a country

  1. Open Locations → Countries.
  2. Select New Country.
  3. Enter the ISO code, for example IN. The form converts it to uppercase.
  4. Enter the Name.
  5. Select Create.
  6. To edit a country, select Edit on the row, change the ISO code or Name, then select Update.

Create or edit a state

  1. Open Locations → States.
  2. Select New State.
  3. Select the Country.
  4. Enter the Name.
  5. Select the Region type: County, Emirates, Province, State, or Union Territory.
  6. Select Create.
  7. To edit a state, select Edit on the row, change the parent country, name, or region type, then select Update.

Create or edit a city

  1. Open Locations → Cities.
  2. Select New City.
  3. Select the State. The country is inherited from the state.
  4. Enter the Name.
  5. Select the Region type: City, District, Metropolis, Municipality, Town, or Village.
  6. Select Create.
  7. To edit a city, select Edit on the row, change the parent state, name, or region type, then select Update.

Create or edit a tag

  1. Open Lookup → Tags.
  2. Select New Tag.
  3. Enter the Name.
  4. Select the Tag type.
  5. Enter a Display order.
  6. Optionally choose a Color, enter an Icon class, and add a Meta title and Meta description.
  7. Select Create.
  8. To edit a tag, select Edit on the row, change the values, then select Update.

Delete and restore

  1. Select Delete on an active row and confirm Delete. The record moves to Trash.
  2. Set Record status to Trash.
  3. Select Restore on the row and confirm Restore. The record returns to the active list.

Locations can only be deleted and restored by Platform Admin. Tags follow the tag role rules above.

Fields

Country

FieldRequiredRules and notes
ISO codeYesExactly two letters, in ISO 3166-1 alpha-2 form, for example IN. The form converts it to uppercase. Must be unique.
NameYesUp to 100 characters. Must be unique.

The slug is generated from the name and is not editable.

State

FieldRequiredRules and notes
CountryYesThe parent country.
NameYesUp to 100 characters. Must be unique within the selected country.
Region typeYesCounty, Emirates, Province, State, or Union Territory.

City

FieldRequiredRules and notes
StateYesThe parent state. The country is inherited.
NameYesUp to 100 characters. Must be unique within the selected state.
Region typeYesCity, District, Metropolis, Municipality, Town, or Village.

Tag

FieldRequiredRules and notes
NameYesUp to 100 characters. Tag names are globally unique, so the name cannot match a global tag or any other agency's tag.
Tag typeYesTheme (e.g. Honeymoon, Family), Activity (e.g. Hiking, Spa), Destination type (e.g. Beach, Hill station), Budget (e.g. Luxury, Budget-friendly), Duration (e.g. Weekend, Long stay), Group (e.g. Group tour, Solo, Women only), Season (e.g. Summer, Winter), or Custom (other).
Display orderNoA whole number from 0 to 32767. The default is 1.
ColorNoAn optional hex color used as a badge in listings.
Icon classNoUp to 50 characters, for example fa-heart.
Meta titleNoUp to 255 characters.
Meta descriptionNoUp to 255 characters.

The tag slug is generated from the name and is not editable.

Lists and filters

ListColumnsFilters
CountriesID, ISO code, Name, Slug, Created, Status, ActionsSearch by name or ISO code; Record status; Reset filters
StatesID, Country, Name, Region type, Created, Status, ActionsSearch states; Filter by country; Record status; Reset filters
CitiesID, State, Name, Region type, Created, Status, ActionsSearch cities; Filter by country; Filter by state; Record status; Reset filters
TagsID, Display order, Name, Type, Created, Ownership, Status, ActionsSearch tags; Record status; Reset filters

Actions appears only for roles with write access. The location filters cascade. In Cities, Filter by state stays disabled until you choose a country, and changing the country clears the state filter. If a city filter link contains a state without a country, the page derives the country from the state and shows Filters adjusted. If the country and state disagree, the state is kept and the country is corrected.

The lists keep their filters in the address bar and show 20 records by default. Choose 10, 20, 50, or 100 per page.

Platform ownership

Countries, states, and cities are shared platform data. Agency users see a note above the list explaining that countries are shared, read-only data managed by the platform, or that states or cities are shared platform data. Agency users do not see New Country, New State, or New City, and the system rejects a direct write.

Tags can be global or agency-owned. The Ownership column shows Global or the agency name. Global tags are read-only for agencies: an owner or manager sees a Read-only marker in place of edit and delete actions, and sales or operations see a view-only list. Agency tags can be changed by an owner or manager. Platform Admin can change any tag.

Delete guards

A location cannot be deleted while it is in use. The message explains what to do first.

RecordBlocked whenMessage
CountryIt has statesCannot delete country "[name]" because it has associated states. Delete the states first.
CountryA destination uses itCannot delete country "[name]" because it is referenced by destinations. Update or delete the destinations first.
StateIt has citiesCannot delete state "[name]" because it has associated cities. Delete the cities first.
StateA destination uses itCannot delete state "[name]" because it is referenced by destinations. Update or delete the destinations first.
CityA destination uses itCannot delete city "[name]" because it is referenced by destinations. Update or delete the destinations first.

Tags have no dependency guard. Deleting a tag moves it to Trash, and its name stays reserved.

Expected result

After Create or Update, the country, state, city, or tag appears in its list with the saved values. Location options become available in destination, site, and address forms. Tag options become available when labelling packages. After Delete, the record leaves the active list and appears under Trash until it is restored.

Common problems

  • The state filter is disabled. Select a country first. The state filter only enables after a country is chosen.
  • No states are available for a country. The message No states are maintained for this country appears. Platform Admin must add the states before cities can be added.
  • A country, state, or city cannot be deleted. It still has child records or is used by a destination. Read the message and remove or move the linked records first.
  • The ISO code is rejected. Use exactly two letters, for example IN. The code must be unique.
  • A state or city name is rejected. The name already exists under the selected parent. Use a different name or edit the existing record.
  • An agency user cannot add or edit a location. Locations are platform-managed. Ask Platform Admin to update the catalogue.
  • A global tag has no Edit or Delete action. Global tags are read-only for agencies. Create an agency tag with a different name if you need a local label.
  • A deleted tag cannot be recreated with the same name. Deleted tags keep their name reserved. Restore the deleted tag instead.