Magento 2 SOAP API with C Sharp adding Service References

If you’re just starting out with Magento 2 and you’re coming from Magento 1, you’ll immediately see the difference in terms of the SOAP API.

It seems the developers have opted to split the functionality into several smaller units. It increases security but adds a little bit of complexity. Nothing that can’t be overcome.

You can combine the service request using commas so you don’t need to have 50 or so different services. You can read all about it on the Magento SOAP reference page.

I’ve grouped them into the Magento categories on their website. You can see the Service Reference URL for Visual Studio below together with the ServiceReference name. Don’t forget to change to your domain.

Warning: i’ve had mixed results with this approach. Sometimes you’ll get messages like “catalogProductRepositoryV1SaveRequest not present”. Use it at your own risk but I would not recommend it. Splitting the services up solves the issue…




* For some reason, the service catalogProductGroupPriceManagementV1 cannot be added so I have omitted it.











  • So now we import the individual service’s into Visual Studio like this:

  • And then we rinse and repeat for every service reference:

2 thoughts on “Magento 2 SOAP API with C Sharp adding Service References

  1. Excellent site you have here.. It’s hard to find high quality writing like
    yours these days. I seriously appreciate individuals like you!
    Take care!!

Leave a Reply to Tim Cancel reply

Your email address will not be published. Required fields are marked *