skip to Main Content

Querying Magento API in Go

I am building a service in Go that queries a Magento API. I already have the oauth credentials needed to make the request (these are persistent) and am able to successfully query the API in Postman. I am trying to…

VIEW QUESTION

How to filter json data and display it on html page? – Magento

var filtered_value = $(this).attr("filterset"); var filter_attribute = $(this).parent().parent().attr('data-facet'); var count = 0; var filtered_json = []; $.getJSON('<?php echo $jsonFileUrl;?>', function (json) { for (var i = 0; i < json.length; i++) { if(json[i][filter_attribute] == filtered_value){ count++; filtered_json.push(json[i]); } } //console.log(filtered_json);…

VIEW QUESTION

WHM API: emailtrack_search returns empty records – CPanel

I am using the WHM api to track emails in the mail delivery log, however, the JSON response using emailtrack_search return no records I am calling the following URL 1xx.x.xx.xxx:2087/cpsess####/json-api/emailtrack_search?api.version=1 And this is the JSON response {"metadata":{"result":1,"version":1,"command":"emailtrack_search","reason":"OK","overflowed":0,"__chunked":1},"data":{"records":[]}} Notice that the…

VIEW QUESTION
Back To Top
Search