v1
auth

Update notification preferences

post/api/auth/user/preferences

Request body

emailstring email required
briefing_frequency'DAILY' | 'WEEKLY' | 'MONTHLY' | 'OFF' required
alerts_enabledboolean required
store_verdicts_enabledboolean required
daily_limitinteger

Max product emails per day; 0 sends none. Account and billing messages are service mail and ignore it.

Response

Successful Response

user_idstring required
emailstring email required
briefing_frequency'DAILY' | 'WEEKLY' | 'MONTHLY' | 'OFF'
alerts_enabledboolean
store_verdicts_enabledboolean
daily_limitinteger

Changes

Changed in 1 of the 92 revisions of this API.346

  • 8bb6e38d9e24346See the full diff
    • added the new required request property alerts_enabled

      new-required-request-property

    • added the new required request property briefing_frequency

      new-required-request-property

    • added the new required request property store_verdicts_enabled

      new-required-request-property

    • removed the request property preferences

      request-property-removed

    • removed the optional property emails_sent_today from the response with the 200 status

      response-optional-property-removed

    • removed the optional property last_reset_date from the response with the 200 status

      response-optional-property-removed

    • removed the optional property preferences from the response with the 200 status

      response-optional-property-removed

    • the request property daily_limit became optional

      request-property-became-optional

    • the daily_limit request property default value 3 was added

      request-property-default-value-added

    • added the optional property alerts_enabled to the response with the 200 status

      response-optional-property-added

    • added the optional property briefing_frequency to the response with the 200 status

      response-optional-property-added

    • added the optional property store_verdicts_enabled to the response with the 200 status

      response-optional-property-added

    • the daily_limit response's property default value changed from 10 to 3 for the status 200

      response-property-default-value-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog