Get the states of a country and their IDs. The response is a plain list of states, not the standard response with IsError, ResponseMessage, and ResponseData.
Authorization
Bearer YOUR_TOKEN
CountryID
Authorization: Bearer YOUR_TOKEN
https://your-site.com/api/states?CountryID=786
[ { "CountryID": 786, "StateID": 922, "StateName": "England", "MetroID": 0 }, { "CountryID": 786, "StateID": 1171, "StateCode": "IM", "StateName": "Isle of Man", "MetroID": 0 } ]
{ "Message": "No HTTP resource was found that matches the request URI 'https://your-site.com/api/states'." }
While Axero does not enforce hard rate limits by default, we recommend the following best practices to ensure optimal performance:
Axero may implement temporary rate restrictions if excessive API usage affects overall site performance. For high-volume integrations, contact Axero to discuss your requirements.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/42775/rest-api-get-states
Your session has expired. You are being logged out.