Resources
Integration Requirement for Custom Stores
Firstly, you will have to set-up the feature; so you can push your ‘Order data’ onto Pragma via this API:
https://documenter.getpostman.com/view/9962170/TVK5eMvX#66866394-7000-40a0-9331-0dfbc6ff1597
Please ensure that the ‘Order data’ structure is exactly the same. And as soon as an order is received by your store, you will have to push that Order to Pragma through this API.
Also whenever an order is updated/cancelled in your store, you will have to relay those actions to Pragma using the below APIs:
Order Updated: https://documenter.getpostman.com/view/9962170/TVK5eMvX#f771ad32-f2ba-4a12-9437-12ae10c8aa7e
Order Cancelled: https://documenter.getpostman.com/view/9962170/TVK5eMvX#13b7212c-2471-401a-a393-f1f09aa35e80
Next, whenever you ship your order, you will have to pass on that information to Pragma using the below API:
https://documenter.getpostman.com/view/9962170/TVK5eMvX#0e4a18dd-8763-4fd7-a313-76f384d429e1
Similarly, please implement the feature for ‘Abandoned Checkouts’, as specified in the documentation.
Finally, at your end, the most important APIs are as follows:
Cancel Order API - Pragma will call on this API to cancel an order in your store. https://documenter.getpostman.com/view/9962170/TVK5eMvX#a21e930b-70ec-49a5-ae5f-94190c82df5c
COD to Paid Success API - Pragma will report information to you on this API whenever there is a successful COD to Paid conversion via Pragma. You will then have to either mark the existing COD order as ‘Paid’ or Cancel the COD order and create a new ‘Paid’ order. API Details: https://documenter.getpostman.com/view/9962170/TVK5eMvX#d3f0b257-661b-4375-87db-15c4c2f5e5da
Generate Coupon API - Pragma will use this API to generate coupons which will be sent to the users for converting ‘Abandoned Checkouts’. https://documenter.getpostman.com/view/9962170/TVK5eMvX#8f054ef5-c0f2-4404-a0c3-14436bdc239e
Complete Documentation: https://documenter.getpostman.com/view/9962170/TVK5eMvX#95736015-af07-4bdb-9e66-4b41fe2943e0