A location's address has address line 1, address line 2, city, state or province, postal code, and country. The country you choose controls how the rest of the address form behaves: it sets the labels for the city, state, and postal fields; decides whether you pick a state or province from a list or type it; and determines whether a subdivision or postal code is required.
When the address is required
The address is optional while a location does not fulfill online orders. Whenever Fulfills online orders is enabled, every create, update, and CSV write must keep a complete service address: address line 1, city, and country. A state or province is also required when the selected country provides a subdivision list, and a postal or PIN code is required when that country uses postal codes. Address line 2 and phone remain optional.
The country comes first
Choose the country first. The form then shows the state or province choices and postal-code example for that country.
State or province label and picker
The label above the state field changes with the country. Depending on the country it reads State, Province, Emirate, Prefecture, Department, County, District, Parish, Island, Oblast, Region, Do/Si, or Area.
If the country has a defined list of first-level divisions, the state field becomes a searchable dropdown and the stored value must be one of the listed subdivision codes. If the country has no such list, the field is free text and its value only has to fit within the maximum length.
Postal code label and validation
The postal field's label also depends on the country. It reads ZIP code, Postal code, PIN code, or Eircode depending on where the location is.
Some countries have no postal code system. For those countries the postal field is hidden and no postal code is stored. When you switch to such a country, any postal code already typed is cleared.
For countries that use postal codes, the postal code is required when the location fulfills online orders and optional otherwise. If you enter one, it must fit the maximum length, contain only letters, digits, spaces, and hyphens, and match the country's expected format. The field shows an example of the expected format as a placeholder, for example 12345 for the United States, SW1A 1AA for the United Kingdom, or 110001 for India.
For India, enter a valid six-digit PIN that matches the selected state or union territory. For example, 400001 is in Maharashtra. Check both the PIN and the state if the form reports a mismatch.
Entering a complete India PIN fills the matching state or union territory on the location form.
Addresses in CSV files
Browse the complete country, state, and postal rules list to find every country and every state or province value Tringify provides. The tables include country codes, accepted subdivision values, postal examples, and plain-language postal rules. You can search and read the tables directly.
In your location CSV, use a two-letter Country Code such as US, GB, or IN. If Fulfills Online Orders is true, include the complete address and any state or postal details required for that country. You can export a saved location to see which values to use in your file.
The State/Province value can be a full name or an abbreviation: use Uttar Pradesh for India, NY for New York, ON for Ontario, and NSW for New South Wales. For Uttar Pradesh, enter Uttar Pradesh rather than UP or IN-UP. Keep postal codes as text in your spreadsheet so leading zeroes are preserved.
In a CSV import, a row with an invalid country, subdivision, postal code, or incomplete online-fulfillment address is reported as failed with the reason. Other valid rows continue to import.
| Name | Address Line 1 | City | State/Province | Postal Code | Country Code |
|---|---|---|---|---|---|
| Main Warehouse | 123 Market Street | San Francisco | CA | 94105 | US |