retargeting.emails.update
Update email retargeting lists (type email).
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
array |
lists ( |
Array of email retargeting lists
|
struct |
{ |
|
int |
retargetingListId |
Id of the email retargeting list which will be updated
|
string |
name |
(optional) Name of email retargeting list.
|
string |
description |
(optional) Description of email retargeting list.
|
string |
status |
(optional) Status of email retargeting list:
-
active :
active list
-
suspend :
suspended list
|
|
} |
|
|
|
) |
|
|
Response
struct |
{ |
|
int |
status |
Status code (see below)
|
string |
statusMessage |
Status code description
|
struct |
diagnostics { |
(optional) Additional information about processed request (see below)
|
} |
|
|
string |
session |
(optional) Refreshed session
|
int |
numberOfUpdated |
Number of updated lists
|
|
} |
|
|
Response status codes:
List of all possible response status codes:
200: OK
206: Partially OK
301: User is serviced
400: Bad arguments
401: Invalid session
403: Access Denied
404: Not found
406: Bad values of attributes
413: Too many items requested.
429: Too many requests. Has to wait.
500: Server Error.
409: Conflict
Diagnostics:
List of all possible diagnostics:
email_retargeting_terms_and_conditions_not_granted
is_too_short
no_ownership_for_retargeting_list
retargeting_list_has_invalid_type
retargeting_list_name_contains_drtg
retargeting_list_name_unique
retargeting_list_not_exist
retargeting_list_not_found
user_access_denied