---
title: "Update a saved datapoint's filter"
method: PATCH
path: "/data-points/filters/{id}"
tags: ["Data Point Filters"]
---

# Update a saved datapoint's filter

`PATCH /data-points/filters/{id}`

Changes a specific DataPointFilter

## Path parameters

- `id` string, required

## Request body

- object — Data Point Filter Model
  - `name` string, required — The filter name
  - `shared` boolean — Defines if the filter is shared or not
  - `directories` string[] — The list of directories for which the dataPoints should be filtered
  - `countries` string[] — The list of countries for which the dataPoints should be filtered
  - `dataPointTypes` string[] — The list of data point types (REVIEW or PHOTO) for which the dataPoints should be filtered
  - `ratings` integer[] — The list of ratings (1, 2, 3, 4 or 5) for which the dataPoints should be filtered
  - `labels` string[] — The list of labels for which the dataPoints should be filtered
  - `isRead` boolean — Flag to set when only datapoints should be shown that the current user already read
  - `hasReply` boolean — Flag to set when only datapoints with a reply should be shown
  - `hasText` boolean — Flag to set when only datapoints with text should be shown
  - `query` string — Any combination of words that should be checked in the dataPoints text, reply messages and author
  - `frequency` 'ALWAYS' | 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'NEVER' — The frequency of the email notifications.
  - `timeSpan` 'TODAY' | 'LAST_7_DAYS' | 'LAST_14_DAYS' | 'LAST_30_DAYS' | 'LAST_90_DAYS' | 'LAST_365_DAYS' | 'ALL_TIME' — The date range for which the dataPoints should be filtered.
  - `crossfeedFilterId` integer — The id of a filter saved by a user in the Feed
  - `businessIds` integer[] — The list of businesses IDs for which the dataPoints should be filtered
  - `dateEnd` string, date-time — The maximum date for which the dataPoints should be filtered
  - `dateStart` string, date-time — The minimum date for which the dataPoints should be filtered
  - `ownerId` integer — The id of the user that owns the filter
  - `ownerName` string — The name of the user that owns the filter
  - `salesPartnerId` integer — The sales partner to which the filter belongs
  - `subscriberIds` integer[] — The list of user's ids that are subscribed to the filter

## Response `200`

Success

- object
  - `status` 'SUCCESS' | 'PENDING' | 'QUOTA_LIMIT_EXCEED' | 'NOT_AUTHORIZED' | 'FORBIDDEN' | 'BAD_ACCESS_TOKEN' | 'BAD_PRIVATE_KEY' | 'BAD_PUBLIC_KEY' | 'MISSING_PARAMETER' | 'INVALID_PARAMETER' | 'WRONG_PARAMETER_TYPE' | 'CONFLICT' | 'RESOURCE_LOCKED' | 'SERVER_ERROR' | 'ERROR' | 'NOT_FOUND' | 'BAD_REQUEST' | 'USER_ERROR' | 'PARTIAL_ERROR' | 'SERVICE_TEMPORARILY_UNAVAILABLE', required
  - `message` string — (optional) Holds further information about the response
  - `warnings` string[] — (optional) Holds further warnings
  - `response` object, required — The actual response object of the response
    - `dataPointFilter` object — Data Point Filter Model
      - `name` string, required — The filter name
      - `shared` boolean — Defines if the filter is shared or not
      - `directories` string[] — The list of directories for which the dataPoints should be filtered
      - `countries` string[] — The list of countries for which the dataPoints should be filtered
      - `dataPointTypes` string[] — The list of data point types (REVIEW or PHOTO) for which the dataPoints should be filtered
      - `ratings` integer[] — The list of ratings (1, 2, 3, 4 or 5) for which the dataPoints should be filtered
      - `labels` string[] — The list of labels for which the dataPoints should be filtered
      - `isRead` boolean — Flag to set when only datapoints should be shown that the current user already read
      - `hasReply` boolean — Flag to set when only datapoints with a reply should be shown
      - `hasText` boolean — Flag to set when only datapoints with text should be shown
      - `query` string — Any combination of words that should be checked in the dataPoints text, reply messages and author
      - `frequency` 'ALWAYS' | 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'NEVER' — The frequency of the email notifications.
      - `timeSpan` 'TODAY' | 'LAST_7_DAYS' | 'LAST_14_DAYS' | 'LAST_30_DAYS' | 'LAST_90_DAYS' | 'LAST_365_DAYS' | 'ALL_TIME' — The date range for which the dataPoints should be filtered.
      - `crossfeedFilterId` integer — The id of a filter saved by a user in the Feed
      - `businessIds` integer[] — The list of businesses IDs for which the dataPoints should be filtered
      - `dateEnd` string, date-time — The maximum date for which the dataPoints should be filtered
      - `dateStart` string, date-time — The minimum date for which the dataPoints should be filtered
      - `ownerId` integer — The id of the user that owns the filter
      - `ownerName` string — The name of the user that owns the filter
      - `salesPartnerId` integer — The sales partner to which the filter belongs
      - `subscriberIds` integer[] — The list of user's ids that are subscribed to the filter

## Other responses

- `400` — Bad Request - The request was invalid or cannot be otherwise served
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - The request is understood, but has been refused or access is not allowed
- `404` — Not Found - The requested resource could not be found
- `409` — Conflict - The request conflicts with current state of the server

---

[API](https://skmtc.net/uberall/apis/uberall-api.md) · [All operations](https://skmtc.net/uberall/apis/uberall-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uberall/uberall-api/versions/ddc577c548ee/schema)
