Presence Management

Search for the online presence stats of your businesses.

Parameters
  • dataformData, objectRequired

    Form Data needed when searching for the online presence stats of your businesses.

    • partoo_business_idsArray[string]

      Online presence for given business id's.

    • dimensionsArray[string]

      How data should be aggregated, values: [day, week, month, year]

GET/api/v1/users/me

{
  const res = await fetch(`${BASE_URL}/api/v1/users/me`, {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(data)});

  const data = await res.json();
}

RESPONSE

{
  "data": [
    {
      "date": "2021-09-06",
      "business_id": "636120f0588c2e6ef800d072",
      "queries_direct": 0,
      "queries_indirect": 0,
      "views_maps": 0,
      "views_search": 0,
      "actions_website": 0,
      "actions_phone": 0,
      "actions_driving_directions": 0,
      "bucket": "week"
    }
  ]
}