productSets.remove
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) Managed user ID
|
|
} |
|
|
array |
productSetIds ( |
|
int
|
|
|
Id of product set to remove
|
|
) |
|
|
Response
struct |
{ |
|
int |
status |
Status code (see bellow)
|
string |
statusMessage |
Status code description
|
string |
session |
(optional) Refreshed session
|
array |
diagnostics ( |
(optional) Various diagnostics(warnings, errors, other information)
|
|
) |
|
|
|
} |
|
|
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:
ambiguous_check
missing_attribute
not_allowed_for_campaign_type
product_set_already_removed
product_set_already_restored
product_set_cpc_is_too_low
product_set_cpc_out_of_range
product_set_empty_label
product_set_forbidden_label
product_set_label_value_duplicity
product_set_label_value_missing_or_empty
product_set_label_value_range_duplicity
product_set_label_value_range_invalid
product_set_label_value_range_missing
product_set_label_value_too_long
product_set_name_duplicity
product_set_name_too_long
product_set_no_eshop_zbozi_premise_in_fulltext_campaign
product_set_not_known_label
product_set_not_valid_pla_premise_id
product_set_user_not_linked_with_pla
user_access_denied
wrong_param_value