RainMaker API

RainMaker is a REST Web Service that lets you access your Seller Central data via any platform. Here we have the basic functions that consist the RainMaker API. For more documentation please check the Seller Central help files.


DescribeWebstore

dfddffdssdsd

Sample Response:

{
timespan:1320704750,
browsenodes:[{
id:"114",
parentid:"0",
name:"Category 1",
children:[{
id:"115",
parentid:"114",
name:"Subcategory 1"
},
{
id:"116",
parentid:"114",
name:"Subcategory 2"
}]
},
{
id:"119",
parentid:"0",
name:"Category 2",
children:[{
id:"113",
parentid:"119",
name:"Subcategory 3"
}] }
],
brands:[
{name:"KETTLER"},
{name:"ALPINE"},
{name:"Finnlo"},
{name:"HAMMER"},
{name:"Everlast"}
],
itemscount:528
}

Example Code:

$WebReqHeader1 = new $Anamo->ECWS->Api();
$WebRespHeader1 = $WebReqHeader1->Call('DescribeWebstore', array('Var1' => 'Value1'));
var_dump($WebRespHeader1->responsedata);

ProductsFindOne

  • Arguments:
  • p As String

Possible values for vat field: superreduced, reduced, standard, parking.
Possible values for availability field: preorder, signup, preorder, unavailable, instock, outofstock, in23days, in12weeks.
Possible values for availabilityenumfield: instock, signup, outofstock, unavailable, in23days, in12weeks.

Sample Response:

{
id:"rhdE3LA1Xuc1Ddu",
name:"ELITE 2",
price:1016.26,
catalogprice:0,
vat:"standard",
pricewvat:1249.9998,
catalogpricewvat:0,
availability:"instock",
weight:0,
availabilityenum:"instock",
availabilityclass:"instock",
hasvariations:false,
variations:[],
attributes:
{
manufacturer:"Vektor",
supplier:"Vektor"
},
defaultdescriptionlang:"el",
defaultdescription:"Αναδιπλούμενος 81.5x72
Διαστάσεις διαδρόμου Μ 181x Π 81.5 cm
Διαστάσεις επιφάνειας τρεξίματος Μ 132.5 x Π 45 cm
Εγγύηση: δύο (2) χρόνια της ελληνικής αντιπροσωπείας",
hasnutritionsheet:false,
nutritionsheet:null,
releasedate:"2011-05-05 22:00:00",
categories:["115"],
images:["184279"]
}

Example Code:

$WebReq1 = new $Anamo->ECWS->Api();
$WebResp1 = $WebReq1->Call('ProductsFindOne', array('p' => $_GET['p']));
if($WebResp1->error_response) {
   $_SESSION[A_NOTIFICATION] = 'Product not found. Please try again.';
   $System->Browser->Go('/search.php');
}

ProductListImages

  • Arguments:
  • p As String

ddd

Sample Response:

{
id:"rhdE3LA1Xuc1Ddu",
name:"ELITE 2",
price:1016.26,
catalogprice:0,
images:["184279"]
}