Get states by country

Retrieve all states/provinces for a specific country using the country symbol

Path parameters

countrySymbolstringRequired

Country symbol (ISO 3166-1 alpha-2 code, e.g., โ€˜MXโ€™, โ€˜USโ€™, โ€˜CAโ€™)

Response

Get states by country
idstring
State ID
namestring
State name
countryIdstring
Country ID
Countryobject
codestring
State code
billingIddouble
Billing ID

Errors

400
Get States Request Bad Request Error
404
Get States Request Not Found Error
422
Get States Request Unprocessable Entity Error
500
Get States Request Internal Server Error