Retrieve the list of all states of a country
This API retrieves the list of all states of the specified country.
You must specify appropriate details for the country_id parameter in the API request.
get/v1/countries/{country_id}/states
Request
- Base URLhttps://api.zenoti.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
country_idinteger required
Mandatory Unique identifier of the required country for which you want to retrieve the list of states.
Query parameters
add_defaults_for_dropdownboolean
Optional Indicates whether default state selections for the country are to be displayed in the Countries list. Default value: false.
Response
200
Changes
No recorded changes to this operation across all 1 revision of this API.