What are the supported Country and state codes for United Kingdom(GBR)?

Tried to create a Contact through API by passing below address but getting Bad Request
“address”: {

        "addressType": "BILLING",

        "address1": "123 DRIVE",

        "address2": "STREET 36",

        "city": "England",

        "state": "GB-SC",

        "countryCode": "GBR",

        "zipCode": "S2 2DF",

        "zipFour": "S2 2DF"

    },

Please provide supported country code and state codes.

Good afternoon Suresh, you can retrieve the list of accepted countries and provinces through the Locales endpoint:

https://developer.infusionsoft.com/docs/rest/#!/Locale/listCountriesUsingGET_3