MobiariDocs
Admin APIPlaces

Get an address

GET
/places/details/{place_id}

The chosen suggestion as structured address fields (street, number, neighborhood, city, state, postal code).

Authorization

bearer_auth
AuthorizationBearer <token>

Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.

In: header

Path Parameters

place_id*string

place_id of a prediction

Query Parameters

session?string

The same session id used for the autocomplete calls.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/places/details/string"
{
  "city": "string",
  "country": "string",
  "formatted_address": "string",
  "line1": "string",
  "neighborhood": "string",
  "number": "string",
  "postal_code": "string",
  "state": "string",
  "street": "string"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}