/notifications
/user_preferences

Update preferences

Changed on

Updates notification preferences with explicit events, opt-in, or opt-out operations. | (UserNotificationPreferencesUpdateRequest) -> (NotificationUserPreferences1)

patch/notifications/user_preferences/update/v1

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/notifications/user_preferences/update/v1
  • Auth
    HTTP bearer

Request body

set_events_by_channelobject nullable
add_events_by_channelobject nullable
remove_events_by_channelobject nullable
opt_in_to_all_on_channelsNotificationChannelsEnum[] nullable
opt_out_of_all_on_channelsNotificationChannelsEnum[] nullable

Response

Successful Response

schema_version1 required
user_idstring required

Must be a string starting with user_

created_at_timestampstring date-time required
last_edited_at_timestampstring date-time required
email_eventsNotificationEventsForUsersEnum[]
push_eventsNotificationEventsForUsersEnum[]
sms_eventsNotificationEventsForUsersEnum[]
_idstring required

Changes

    • warning

      added the new shipping.cargo.tracking_sharing_updated enum value to the / response property for the response status

    • warning

      added the new shipping.cargo.tracking_sharing_updated enum value to the / response property for the response status

    • warning

      added the new shipping.cargo.tracking_sharing_updated enum value to the / response property for the response status

    • warning

      added the new shipping.task_group.tracking_sharing_updated enum value to the / response property for the response status

    • warning

      added the new shipping.task_group.tracking_sharing_updated enum value to the / response property for the response status

    • warning

      added the new shipping.task_group.tracking_sharing_updated enum value to the / response property for the response status

    • info

      added the new shipping.cargo.tracking_sharing_updated enum value to the request property ///

    • info

      added the new shipping.cargo.tracking_sharing_updated enum value to the request property ///

    • info

      added the new shipping.cargo.tracking_sharing_updated enum value to the request property ///

    • info

      added the new shipping.task_group.tracking_sharing_updated enum value to the request property ///

    • info

      added the new shipping.task_group.tracking_sharing_updated enum value to the request property ///

    • info

      added the new shipping.task_group.tracking_sharing_updated enum value to the request property ///