Unable to remove a text type attribute value of a product by using WebService
ID:
Backlog
Published on 1/2/2018
•
Last update on 12/22/2022
Summary
When a specific product tries to remove the value of one of its text-type attributes from WebService, the response indicates that it is mandatory for it to have a value, but the user is allowed to make the change. This reason makes it impossible to automate the integration to remove already associated attributes.
Simulation
- Generate a call to WS ProductSpecificationInsert, indicating the correct ProductId and its fieldName.
- Inside fieldValues, leave the string empty, simulating removing the attribute value.
- Run the call to the webservice after which the error is shown indicating that the value of the attribute cannot be empty.
Workaround
It is possible to remove the value of the desired attribute from the user interface of Product Manager. The product must be entered, the attribute must be identified and the desired value must be deleted. Afterwards, save the changes and the removed value will be updated.