Get all country Subdivisions
Description
Retrieves a list of all country subdivisions. A subdivision is a state or a province for a specific country.
For example, Ontario is a subdivision for the country of Canada.
Package Details
Interface
IAddressManager
Syntax
AddressManager.GetAllSubdivisions()
Returns
Task<ICollection<CountrySubdivision>>
API
[GET] /api/v1/country-subdivisions
Returns
200 OK - List of all available country subdivisions
Example
var subdivisionList = await addressesManager.GetAllSubdivisions();