-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug] REST API: Update special prices does not set values for all store views #39521
Comments
Hi @JoryHogeveen. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @JoryHogeveen, Thanks for the report and collaboration! We have tried to reproduce this issue in the latest development branch i.e. 2.4-develop and the issue seem reproducible for us. Below steps we followed to reproduce the issue:
Hence confirming the issue. Thanks |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-13671 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
Preconditions and environment
Steps to reproduce
Expected result
Since the special pricing attributes are in website scope, I would expect all store views to be updated, not just the single ID passed in the endpoint.
Actual result
The special price values are only updated for the store view ID that is provided through the payload, all the other storeviews are not synced.
I consider this a bug since the default Magento 2 admin handles this automatically. When you change the value for an attribute in the website scope, all other storeviews are also updated. IMO the REST API should behave the same.
Additional information
No response
Release note
This bug enforces anyone using the REST API to provide the special price for ALL storeviews in that website, which is hugely redundant and also enforces an extra REST API call to get these IDs.
Special prices are critical data since incorrect values could result in invalidly priced orders.
Therefore I set this to S1 severity.
Triage and priority
The text was updated successfully, but these errors were encountered: