'update_types' Response

The 'update_types' response returns the count of successfully updated items and not updated items. If any items are not updated in the transaction, the response also contains the list of such type labels.:

The following table describes the 'update_types' response parameters.

'update_types' response parameters

Name Type Description

result_code

int

transaction result code. 'result_code' is always returned in a response.

'0' on success.

If the transaction fails, the 'result_code' is other than 0.

error_msg

string

more specific description of the error.

updated_count

int

number of successfully updated items

not_updated_count

int

number of items not updated in the transaction due to invalid data structure or non-existent item type label

not_updated_labels

array

array of 'label' fields containing labels of item types not updated in the transaction