Docs
Dashboard

addressPredictions

Query

Returns address autocomplete suggestions matching query. sessionToken is the composite token {checkoutToken}-{googleSessionToken}: the checkout-token half is validated against an active hosted checkout session; the Google-session half is forwarded verbatim to Google so the client controls billing- session lifetime (a new one per place-details resolution).

#

Arguments


countryCode
String!Required

The country code used by this operation.

locale
String!Required

The locale used by this operation.

location
AddressPredictionLocationInput

The location used by this operation.

query
String!Required

A search expression used to filter the returned resources.

sessionToken
String!Required

The session token used by this operation.

#

Payload


AddressPrediction
[AddressPrediction!]!

A single address autocomplete suggestion.