Skip to content
Account

Update User Settings

Updates a single setting for the current logged-in user, submitted as a key-value pair.

POSThttps://api.lbkrs.com/v1/member/settings/update

Request body application/json

keystringrequired

The key of the setting to update. The server validates it against an allowlist; passing an unknown key returns an error (see the business codes below). Refer to the settings keys returned by GET /v1/member/setting.

wch_options_clearsubscribe_order_stock

valuestringrequired

The target value of the setting; its meaning depends on key — see the description of the corresponding field in MemberSettingsMap. Boolean-type settings are submitted as the string "YES"/"NO". The server does not accept an empty string (returns 400 param lost).

Responses

HTTP 200The request succeeded. The response body contains the result of the “Update user settings” operation.
Standard response envelopecodemessagedata
dataobjectdata structure

Empty object

No nested fields

HTTP 400The service rejected the request because a business rule or input validation failed. Review the business codes and correct the request before retrying.
codeintegerrequired

Business status code, 0 indicates success

messagestringrequired

Human-readable result or error message.

Whale Docs