# Set Preferences source: https://developer.mastercard.com/pay-with-rewards/documentation/use-cases/preferences/set-preferences/index.md ## Short description {#short-description} This use case is used to update the user's PWR preferences. The user can activate PWR for pre-auth redemptions and set the maximum transaction amount. They can also choose to deactivate PWR after previously activating it. ## Sequence diagram {#sequence-diagram} Diagram pwr-set-preferences ##### Following are the execution steps: {#following-are-the-execution-steps} 1. The consumer logs into the customer's app. 2. The customer authenticates the consumer. 3. The consumer updates their preferences. 4. The customer makes a PUT request to the /redeemers/{id}/preferences endpoint to update the consumer's preferences. 5. The request for updating the preferences has the following mandatory request parameters: * **id** : Unique identifier of the consumer * **redemption_type** : Redemption type should be PWR. 6. Mastercard Network API Gateway authenticates/authorizes the customer and routes the request to Pay with Rewards in the case of a valid customer. 7. The Pay with Rewards service validates the request parameters received via the `PUT /redeemers/{id}/preferences` endpoint. 8. The Pay with Rewards service updates the consumers preferences. 9. The Pay with Rewards service sends a response of 200 in the case of a successful update. 10. The Pay with Rewards service sends a response with a status code of 4xx/5xx in case of an invalid request. 11. The customer displays the consumer's preferences ## Endpoint {#endpoint} API Reference: `PUT /redeemers/{id}/preferences`