PUT v1/CustomerEmailPreferences
Request Information
URI Parameters
None.
Body Parameters
Common.Dto.Put.CustomerEmailPreferencesName | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
None. |
|
preferences | Collection of Common.Dto.Put.CustomerEmailPreference |
None. |
Request Formats
application/json, text/json
Sample:
{ "customerId": 1, "preferences": [ { "enabled": true, "emailType": "sample string 1", "emailCategory": "sample string 2", "id": 3 }, { "enabled": true, "emailType": "sample string 1", "emailCategory": "sample string 2", "id": 3 } ] }
Response Information
Resource Description
Common.Dto.Get.CustomerEmailPreferencesName | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
None. |
|
preferences | Collection of Common.Dto.Get.CustomerEmailPreference |
None. |
Response Formats
application/json, text/json
Sample:
{ "customerId": 1, "preferences": [ { "enabled": true, "accountDefault": true, "emailType": "sample string 2", "emailCategory": "sample string 3" }, { "enabled": true, "accountDefault": true, "emailType": "sample string 2", "emailCategory": "sample string 3" } ] }