Update notification preference

Request
Security:
vc-security
Request Body schema: application/json
id
integer <int64>
active
boolean
object (UserKey)
orgId
string
email
string
phone
string
language
string
Array of objects (CategoryPreference)
object
createdBy
string
createdInstant
string <date-time>
lastUpdatedBy
string
lastUpdatedInstant
string <date-time>
Responses
200

OK

401

Unauthorized request

put/notification-service/v1/preference
Request samples
application/json
{
  • "id": 0,
  • "active": true,
  • "userKey": {
    },
  • "orgId": "string",
  • "email": "string",
  • "phone": "string",
  • "language": "string",
  • "categoryPreferences": [
    ],
  • "productEventsMap": {
    },
  • "createdBy": "string",
  • "createdInstant": "2019-08-24T14:15:22Z",
  • "lastUpdatedBy": "string",
  • "lastUpdatedInstant": "2019-08-24T14:15:22Z"
}
Response samples
application/json
{
  • "id": 0,
  • "active": true,
  • "userKey": {
    },
  • "orgId": "string",
  • "email": "string",
  • "phone": "string",
  • "language": "string",
  • "categoryPreferences": [
    ],
  • "productEventsMap": {
    },
  • "createdBy": "string",
  • "createdInstant": "2019-08-24T14:15:22Z",
  • "lastUpdatedBy": "string",
  • "lastUpdatedInstant": "2019-08-24T14:15:22Z"
}