GET

Get Address Schema By Country Code


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Returns the address form schema for a country: which address fields to render and in what order, which are mandatory, the list of administrative areas (states/provinces), and the locality / sub-locality / postal-code / administrative-area type labels.

Source data is Google's open-source libaddressinput dataset (chromium-i18n.appspot.com/ssl-address/data/{country}); this RPC decodes the raw record server-side. It needs no Google connection, no OAuth token, and no stored location — it is public reference data, cached in WixCache.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage SEO Settings
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/gbp/v1/address-schema/{countryCode}

Errors
500Internal

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?