Notifications Update

Updates the “read” (if non-null) and “seen” (if non-null) statuses of notifications with the given IDs, or those sent before the given date.

In iOS, use the Swift UpdateNotificationsRequestBuilder object or the Objective-C SFSDKUpdateNotificationsRequestBuilder object to create update requests.

To define the range of affected notifications, pass either an array of notification IDs or a “before” date. The ID array and “before” date are mutually exclusive parameters.

Parameters:

  • apiVersion (String)

  • Either:

    • notificationIds (Array)

      OR

    • before (Date)

  • read (Boolean)

  • seen (Boolean)