AddressAutocompleteContext reference
AddressAutocompleteContext
record provides information needed to find address suggestions.
It is available as a parameter in FindSuggestionsAsync
method of address autocomplete extension.
Properties
InputText
The input text at which the address suggestions should be found.
InputType
Indicates type of the input text. For more information, see AddressAutocompleteInputType.
CountryIds
The collection of countries to restrict address suggestions. If country is selected on the webstore form, it will contain only the selected country, otherwise, it will contain all countries that are available in webstore. Each element of the collection is a two-character country code according to the ISO 3166 standard.
LanguageId
The current webstore language LCID. For example the value of 1033 is the ID of the 'English - United States' language and of the same culture.
UserKey
The key that uniquely identifies current user. In case of an authenticated user, the value represents the shop account identifier. In case of an anonymous user, the value represents the login session identifier.