Zenth Posted July 13, 2021 Share Posted July 13, 2021 Greetings, I've been working prestashop webservices for the past weeks and now I'm tackling stock management. Reading the documentation, my guess is that I've to use ressource stock_availables to do that. However there is something wrong with the documentation : https://devdocs.prestashop.com/1.7/webservice/reference/ It says that GET, POST and HEAD methods are available for the ressource stock_available. But I can't use the POST method with Postman, giving me this error code : <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <errors> <error> <code> <![CDATA[101]]> </code> <message> <![CDATA[Method POST is not allowed for the resource stock_availables]]> </message> </error> </errors> </prestashop> And surprisingly, I can use the PUT method, which shouldn't be working if I'm reading the documentation correctly. I would like to know if it's just an issue with the documentation or if the problem is on my side. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now