I'm currently working on a webapp that communicates with a magento 2 server. I tried to use the soap interface for the communication but it quickly turned out, that the soap api changed from Magento 1 to 2.
One difference i stumbled across, is that when i create a new category for example, i have to add the attribute isActive
to the request. In the past, i used is_active
but by using it, i always got an error, saying "is_active
" is missing. After changing is_active
to isActive
it worked.
My problems with this are:
- I found out about the change by pure luck
- The error message from magento was absolutely misleading
In the magento 2 devdocs i only found a solid documentation for the rest-api with all possible requests and what to send in the request body. I guess the soap api uses similar request bodies, but now i can't be sure anymore and don't want to get lost while programming due to lack of documentation.
So does anybody know where i can find a truly solid soap api overview for magento 2? All i can find is: How to get an auth-token and an list of the services and functions, but no documentation of the needed request body etc.