Skip to main content

Region Configuration Format

Countries Format

Within the countries array, in both buy and sell configurations, proper formatting is essential to ensure quotes appear for those particular regions. Below shows the correct configuration for the us and ca country regions:

{
id: "us",
states: ["us-ca", "us-az",...]
},
{
id: "ca",
states: ["ca-bc", "ca-ab",...]
}

ISO 3166-1 alpha-2 country and state Format

Country IDs should have the ISO 3166-1 alpha-2 format while states should be in the format of country-state delimited by a -:

id: <country ISO 3166-1 alpha-2>,
state: [<country ISO 3166-1 alpha-2>-<state ISO 3166-1 alpha-2>, ...]