Magento2 API – SMS Integration REST API

apimagento2rest

I have an API URL of SMS Gateway :

https://smsexample.net/test/api.php?username=xxxx&password=xxxx&from=xxxx&to=xxxx&text=xxxx

How can I make REST API using this gateway, so can call the API in my mobile app?

Best Answer

You need to call this rest API in code on each event of your requirement like New order, order update, Here are the ways you can use this API:

Solution 1 :

Go into code, Place API in code of each event Ex. Checkout, Order Update which require code knowledge in deep.

Solution 2:

There are free sms notification modules available for magento like "Spring Edge Magento sms extension" which is Compatible with: Magento versions 1.x and 2.x

Magento sms module events configuration :

  • Send sms to customer and admin on new order is placed.
  • When order status is set to hold.
  • When order status is set to Unhold.
  • When order is cancelled.
  • When order status is set Shipment.

http://springedge.com/magento-sms-extension-module-free.html

Related Topic