post http://api.pandascrow.io/sandbox/index/user/settings
To update your settings, you would need to pass 0 or 1 to a setting arg you wish to update for your Pandascrow account, where 0 means "off" and - 1 means "on"
[POST] {{baseurl}}/sandbox/index/user/settings
Pandascrow Settings - Update
To update your Pandascrow settings, you'll need to provide all information required in the table below.
Param | Required? | Description | type |
---|---|---|---|
login_notification | No | To get notifications on every login (0 or 1) | Boolean |
product_notification | No | To get notifications on every product updates (0 or 1) | Boolean |
update_announcement | No | To get updates on apps and products (0 or 1) | Boolean |
transaction_alert | No | To get notifications on every transaction (0 or 1) | Boolean |
metric_report | No | To email monthly on account metrics report (0 or 1) | Boolean |
API Object
{
"status": 200,
"data": {
"message": "settings was updated successfully"
}
}
curl -L -X POST '{{baseurl}}/sandbox/index/user/settings' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY'
-H 'Appid: appid'