sonic_location_suggest
Complete free-text addresses, places, cities, states, or ZIP codes into ranked latitude/longitude suggestions for Sonic Drive-In store searches.
Instructions
Complete an address into coordinates for Sonic Drive-In store search. Completes a partial address, place, city, state or ZIP into ranked matches, each already carrying the latitude and longitude that GET /sonic/nearby takes -- so a caller can run a Sonic restaurant search from free text instead of coordinates. Each suggestion's layer describes its granularity and is one of address, locality, state, postalCode or place, and confidence is one of exact, interpolated or fallback. Results are restricted to one country (default US). A query that matches nothing returns an empty suggestions array with count 0, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum suggestions, 1-25. Defaults to 5. Upstream may return fewer. | |
| query | Yes | Partial address, place, city, state or ZIP to complete | |
| country | No | ISO 3166-1 alpha-2 country code to restrict results to. Defaults to US. |