How to create custom SOAP api in magento 2.0? Please share you link if you have already work on it.

1 Answer 1


To create custom SOAP api for Magento 2.0

  1. Create service contracts. These are set of data and service interfaces. Sample module for service contracts can be found on Magento github.

  2. Expose services as web api services.

  • Hi, @Arkadii , nice article and I will check it but can't understand how can I manage with custom, can you please elaborate.
    – Dhrumin
    Feb 18, 2016 at 7:47
  • Have you already created service contracts? Could you give me an interface, which you want to expose Feb 18, 2016 at 7:52
  • Hi, I can't understand exactly how to create service contracts, can you please provide other documentation for better understanding.
    – Dhrumin
    Feb 20, 2016 at 6:47
  • Try to explore this one: ashsmith.io/magento2/module-from-scratch-module-part-2-models Feb 22, 2016 at 9:42
  • Thanx, i will check it and let u know.
    – Dhrumin
    Feb 23, 2016 at 7:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.