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โ€™)

Headers

x-admin-api-keystringRequired

Response

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

Errors