Skip to content

Resolve address details by address_id

GET
/store/geo/resolve

DEV-427 / ADR-014 — resolve internal address_id (returned by
/store/geo/suggest) в полный набор полей (region/city/district/
metro_station_id/coords). Used internally on every product write
в POST /vendor/products (DEV-427).

ADR-015 Plan A+D hybrid поведение:

  • Адреса с auto-resolved coords (~12% OSM-matched) → lat/lon ≠ null,
    metro_station_id auto-computed (если ≤ 1500m)
  • Адреса БЕЗ coords (~88% manual select needed) → lat/lon = null,
    metro_station_id = null. Frontend (DEV-402) показывает manual
    metro select dropdown
    в этом случае.

Frontend применяет metro_station_id из manual select в POST /vendor/products
отдельным полем (см. legacy fields в product write).

Parameters

Query Parameters

address_id*

Internal address UUID (ADR-014)

Type
string
Required
Format
"uuid"

Responses

Resolved address

application/json
JSON
{
  
"data": {
  
  
"address_id": "string",
  
  
"region_id": 0,
  
  
"city_id": 0,
  
  
"district_id": 0,
  
  
"metro_station_id": 0,
  
  
"metro_distance_m": 0,
  
  
"lat": 0,
  
  
"lon": 0,
  
  
"level": "string",
  
  
"source": "string",
  
  
"value": "string"
  
}
}

Playground

Server
Variables
Key
Value

Samples

Powered by VitePress OpenAPI