GET
/
partner
/
users
/
:id
/
communication_settings
curl https://api.thanxsandbox.com/partner/users/:id/communication_settings \
  -X GET \
  $AUTH_HEADERS
{
  "communication_setting": {
    "id": "weori234098",
    "merchant_id": "owierywtwt",
    "user_id": "woeruijsfwer",
    "reward_progress": {
      "email": true
    },
    "reward_offer": {
      "notification": true,
      "email": true
    },
    "marketing_general": {
      "email": true
    }
  }
}

Scopes: users.read, communication_settings.read

Parameters

id
string
required

User ID

merchant_id
string
required

Merchant ID

Response

id
string

The ID of the settings record

merchant_id
string

The ID of the merchant

user_id
string

The ID of the user

reward_progress
hash

Settings for when a user earns loyalty progress

reward_offer
hash

Settings for when a merchant sends an offer

marketing_general
hash

Settings for when a merchant sends general marketing

curl https://api.thanxsandbox.com/partner/users/:id/communication_settings \
  -X GET \
  $AUTH_HEADERS
{
  "communication_setting": {
    "id": "weori234098",
    "merchant_id": "owierywtwt",
    "user_id": "woeruijsfwer",
    "reward_progress": {
      "email": true
    },
    "reward_offer": {
      "notification": true,
      "email": true
    },
    "marketing_general": {
      "email": true
    }
  }
}