Update point of interest by code

GEOLOCALIZATION

New Pois can be geocoded when being created. There are some considerations to take into account:

  • If latitude and longitude are present, it won't geocode based on the address, longAddress or geocodeByCep object. BUT will try to fetch an address with that coordinates and if it's a valid one, it will be replace as the Poi address.
    IE: if latitude:0 and longitude:0, it will not geocode and will try to fetch an address from [0,0] but won't get any result, so the address will not change.
  • If latitude and longitude are not present, it will prioritize the addresses in this order
    1. geocodeByCep: if this objects is present and is valid, address and longAddress will be ignored
    2. address: if this objects is present, longAddress will be ignored. IE If you dont't want to use address object, remove it entirely so that longAddress can be used
    3. longAddress: if this string is present, it will try to gecode based on this string.
Language
Authorization
Header
Click Try It! to start a request and see the response here!