/locations/:id Permission level: 3

put/locations/{id}

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Path parameters

idinteger required

Location id

Request body application/x-www-form-urlencoded

namestring required
countrystring
addressstring
latstring
lonstring
timezone_idinteger
notesstring
phone_numberstring

Response

200

statusinteger
tokenstring

Example response

{
  "status": 1,
  "data": {
    "id": 542317,
    "name": "Dream Coffee Center",
    "country": "Serbia",
    "address": "Dobracina 30 Belgrade",
    "store": 251300,
    "type": 2,
    "notes": "This is our location in the center of the town",
    "map": "https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Dobracina+30+Belgrade%2C+Serbia",
    "directions": "https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Dobracina+30+Belgrade%2C+Serbia"
  },
  "token": "xxxxxxx"
}

Changes