Update city search to return district/locality string suggestions
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s
This commit is contained in:
@@ -128,8 +128,11 @@ AUTH + SYSTEM APIS
|
||||
|
||||
What it does:
|
||||
|
||||
- Searches city names by prefix from local pincode directory table.
|
||||
- Returns unique city + state rows only.
|
||||
- Searches district and locality names by prefix from local pincode directory table.
|
||||
- Returns a JSON array of unique strings in this format: "NAME, STATE".
|
||||
- District matches are ranked first.
|
||||
- If district matches exist, locality results from those districts are also included.
|
||||
- Locality suffixes like H.O / S.O / B.O are trimmed in output.
|
||||
- Uses local DB only (no external API call in this endpoint).
|
||||
|
||||
Request body:
|
||||
|
||||
Reference in New Issue
Block a user