This endpoint is currently shown as a preview of what’s currently in development and is subject to change.
Provider selection is handled automatically server-side based on configuration and country. The API automatically selects the appropriate provider, but you can set the
provider
field when passed back to the details endpoint.Country Detection Logic
When no country is explicitly provided, the API uses this fallback order:- Explicitly provided
country
parameter - Customer’s existing billing/shipping address (for logged-in users)
- Cart session country (if previously set)
- Store’s default base country
- ‘US’ as ultimate fallback
Query Parameters
Search query string (minimum 3 characters)
Minimum length:
3
ISO 3166-1 alpha-2 country code to limit search results
Required string length:
2
Address type for the search context
Available options:
billing
, shipping
Specific address autocomplete provider ID to use