Get state by ID

Retrieve detailed information for a specific state within a country

Path parameters

countrySymbolstringRequired

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

stateIdstringRequired

State identifier (e.g., โ€˜1โ€™, โ€˜25โ€™)

Response

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

Errors

400
Get State by ID Request Bad Request Error
404
Get State by ID Request Not Found Error
422
Get State by ID Request Unprocessable Entity Error
500
Get State by ID Request Internal Server Error