PearPear
API IntegrationAPI SpecificationUsers

Update user preferences

Updates the current authenticated user preferences

PATCH
/users/preferences
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Payload to update user preferences

Response Body

application/json

curl -X PATCH "https://example.com/users/preferences" \  -H "Content-Type: application/json" \  -d '{}'
{  "preferences": {    "slippageToleranceBps": -9007199254740991  }}