getReviews
Returns the reviews made by the user.
Method
GET
/api/api.php/getReviews/{sku_family}
Parameters
sku_family
Required
Type: varchar(30)
Response
Returns the number of reviews made by the user.
Returns the reviews made by the user.
Response objects
Example
<script>
$.get("https://accelerator56.redicom.work/api/api.php/getReviews"+sku_family,
$( ".container-form :input" ).serialize() )
.done(function(msg) {
var resp = jQuery.parseJSON(msg);
if( resp.response==1 ){
console.log("Sucesso");
}
if( resp.response==0 ){
console.log("Erro");
}
});
</script>