Push Notifications

Update push notification preferences

Update push notification preferences. Supports both single preference updates (for backwards compatibility) and batch updates via a preferences array. This allows users to enable or disable push notifications for specific notification types, and update multiple preferences atomically to avoid race conditions.

patch/api/push/preferences

Request

  • Base URL: https://api.sc-market.space
  • URL: https://api.sc-market.space/api/push/preferences
  • Auth: none declared

Request body

OR

Response

Successfully updated push notification preferences

messagestring

Example response

{
  "message": "Successfully updated 5 push notification preferences"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.