magooattack Posted March 27, 2018 Share Posted March 27, 2018 Hi everybody, I really hope that somebody can help. I bought a points rewards module which I installed and set correctly. At some point, the module developer asked me to put some code in order to call their API. Big problem is that I'm not a developer and they do not provide the code, the only data the provided is this: curl -X POST --header "partner-id: ####" --header "api-key: ###" --data "user_email=###@zinrelo.com" --data "points_passed=100" --data "activity_id=made_a_purchase" --data "order_id=####" "https://###websiteaddress.com" The above command returns JSON structured like this: { "data": { "user_email": "###@zinrelo.com", "last_name": "Baker", "first_name": "Bob", "activity_id": "made_a_purchase", "activity_name": "Made a Purchase", "transaction_type":"award", "points": 100, "points_status": "auto_approved", "created_time": "30-Mar-16 19:20:22" }, "success":true } Is there a "blessed soul" that could help me do this? I'm totally lost. Thanks for your help...I hope Link to comment Share on other sites More sharing options...
sunnydesigner Posted March 30, 2018 Share Posted March 30, 2018 Hi, It requires some PHP and Smarty skill, you can hire a freelancer to help you. Best regards. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now