-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Magento 2.2.7 - Unable to add tier price with 0 value via API #22237
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
Hi @andrewbgittus. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @andrewbgittus do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Hi @andrewbgittus . Thank you for your report.
The fix will be available with the upcoming 2.2.8 release. |
Preconditions (*)
Steps to reproduce (*)
POST http://xxx.xxxx.com/magentov2/index.php/rest/V1/products/TEST/group-prices/1/tiers/20/price/0 HTTP/1.1
Authorization: Bearer xx0xxx0x0xx0xx00xxx00xx0x0xxxx0x
Accept: application/json, text/json, text/x-json, text/javascript
User-Agent: RestSharp/100.0.0.0
Host: dev.zynk.com
Content-Length: 0
Accept-Encoding: gzip, deflate
Connection: Close
Expected result (*)
Actual result (*)
HTTP/1.1 400 Bad Request
Date: Tue, 09 Apr 2019 08:30:45 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 39
Connection: close
Cache-Control: public, max-age=31536000
Expires: Wed, 08 Apr 2020 08:30:45 GMT
Vary: User-Agent
X-UA-Compatible: IE=edge
X-Turbo-Charged-By: LiteSpeed
Server: cloudflare
CF-RAY: 4c4b1eec6d3a6aa9-LHR
{"message":"Please provide valid data"}
The text was updated successfully, but these errors were encountered: