Update Customer Preferences
This endpoint currently does nothing. It was designed to allow the ability to update the preferences of showing transaction placement ads for the customer.
| PUT /customers/<token>/preferences
|
In addition to the query parameter, this endpoint requires a JSON body be posted.
Path Param |
Type |
Required |
Description |
token |
string |
Required |
The security token for the customer |
JSON Prop |
Type |
Required |
Description |
showTransactionAds |
bool |
Required |
Indicates whether or not transaction placement information is returned for this customer. |
hideTransactionAdsDurationInSeconds |
long |
Required |
If the showTransactionAds is false, this parameter can be used to indicate how long the hide will stay in effect. |
Output
This endpoint returns an HTTP response indicating success (200) or failure (500).
Example
Request
| PUT /api/v1/customers/C1FA3C38-1B28-4B54-A2F8-E577FFEEF9F5/preferences
|
| {
"showTransactionAds": true,
"hideTransactionAdsDurationInSeconds": 0
}
|
Response