---
title: "Get point of interest by code"
method: GET
path: "/pois/{code}"
tags: ["Pois"]
---

# Get point of interest by code

`GET /pois/{code}`

## Request

- Base URL: `https://flash-api.quadminds.com/api/v2`
- URL: `https://flash-api.quadminds.com/api/v2/pois/{code}`
- Auth: API key in header `x-saas-apikey`

Get point of interest by code

## Path parameters

- `code` string, required

## Response `200`

Get point of interest by code

- object
  - `meta` object
    - `numRows` string
    - `affectedRows` string
    - `insertId` string
  - `data` object
    - `code` string: Poi code
    - `name` string: Poi name
    - `address` string: Poi address
    - `longitude` number: Poi longitude coordinate
    - `latitude` number: Poi latitude coordinate
    - `enabled` boolean: Poi status
    - `deliveryAreaCode` string: Poi delivery area code
    - `salesAreaCode` string: Poi sale area code
    - `poiType` string: Poi type code from /poi/types
    - `originalAddress` string: Poi first address entered
    - `phoneNumber` string: Poi phone
    - `taxId` string: Poi taxId
    - `radius` integer: Poi radius (meters)
    - `grouping` string: Poi grouping
    - `visitingFrequency` 'weekly' | 'biweekly' | 'monthly': Poi frequency
    - `deviceId1` string: ERP code
    - `visitingDaysDevice1` integer[]: Poi visiting day for deviceId1 "Monday -> 1, Sunday -> 7"
    - `deviceId2` string: ERP code
    - `visitingDaysDevice2` integer[]: Poi visiting day for deviceId2 "Monday -> 1, Sunday -> 7"
    - `deviceId3` string: ERP code
    - `visitingDaysDevice3` integer[]: Poi visiting day for deviceId3 "Monday -> 1, Sunday -> 7"
    - `deviceId4` string: ERP code
    - `visitingDaysDevice4` integer[]: Poi visiting day for deviceId4 "Monday -> 1, Sunday -> 7"
    - `comments` string: comments/observations
    - `visitingOrder` integer: Poi visiting order
    - `email` string: Poi Email (More than one separated by commas)
    - `timeWindow` object[]: Poi visiting time windows (use User TimeZone)
      - `from` string: Window Start time
      - `to` string: Window End time
    - `poiDelay` string: delay time in Poi
    - `poiDeliveryComments` string: Additional Comments when delivering to this Poi
    - `notificationConfig` object: Notifications configuration
      - `order` object
        - `planned` string[]
        - `routeStarted` string[]
        - `arriving` string[]
        - `delivered` string[]
        - `failed` string[]
    - `lastVisitedAt` string, date-time: Poi last time visited
    - `updatedAt` string, date-time: Poi last updated time
    - `skippedGeocodeAt` string, date-time
    - `area` object: Poi area geoJson
    - `geocodedByAppAt` string, date-time: Time in which was geocoded by App

## Other responses

- `403`: Not authorized access

---

[API](https://skmtc.dev/quadminds/apis/cloudflash-api.md) - [All operations](https://skmtc.dev/quadminds/apis/cloudflash-api/llms.txt) - [OpenAPI document](https://skmtc.dev/quadminds/apis/cloudflash-api/revisions/7731f1076b80?raw)
