-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Unable to save certain product properties via Rest API #6486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you please attach payload of your request? |
Request { Response { Response from second identical post { |
This happens when product type_id field is not defined. Created internal ticket MAGETWO-58101. Thanks for reporting. |
Thanks for the heads up! |
@cherreman, thank you for your report. |
Hi @cherreman. Thank you for your report. The fix will be available with the upcoming patch release. |
Preconditions
Steps to reproduce
Expected result
Actual result
I traced this down to the BeforeEntitySave observer, where the price seems to be stripped off the product when $entity->beforeSave() is called. I did not continue research after that.
Workaround is to execute the post request again. During the update of the product, the price seems the be saved correctly.
The text was updated successfully, but these errors were encountered: