Set's a User's notification preferences.
Header | Data Type | Valid Values | Required | Description |
---|---|---|---|---|
Content-Type | string | application/json | YES | The format your data will be sent to our site. |
X-DevKey | string | string | YES | The devkey assigned to the developer. |
X-AccessToken | string | string | YES | The token acquired from a POST to Users/AccessToken. |
NOTE: Variables to place in the body of the request.
Parameter | Data Type | Valid Values | Description |
---|---|---|---|
Outbid | boolean | true/false | Sets the user's outbid push notification preference. |
ItemWon | boolean | true/false | Sets the user's item won push notification preference. |
WatchedItemEndingSoon | boolean | true/false | Sets the user's watched item ending soon push notification preference. |
NotWinningEndingSoon | boolean | true/false | Sets the user's not winning item ending soon push notification preference. |
FixedPriceEnded | boolean | true/false | Sets the user's fixed price ended push notification preference. |
FixedPriceSoldOut | boolean | true/false | Sets the user's fixed price sold out push notification preference. |
ItemClosed | boolean | true/false | Sets the user's item closed push notification preference. |
ItemSold | boolean | true/false | Sets the user's item sold push notification preference. |
ItemListed | boolean | true/false | Sets the user's item listed push notification preference. |
DisplayFFLBadge | boolean | true/false | Sets the user's preference to display an FFL icon on their listings, if the user is part of the GunBroker FFL network. |
If your preferences updated successfully, you will receive a 200 OK
and a MessageResponse indicating success.