Retrieve cross-sell campaigns
Last updated: 13-Jul-2017
Use the searchCrossSellCampaigns method to extract information about the cross-sell campaigns you configured.
Parameters | Type/Description |
---|---|
sessionID |
Required (string) |
|
Session identifier, the output of the Login method. Include sessionID into all your requests. Avangate throws an exception if the values are incorrect. The sessionID expires in 10 minutes. |
<?php
require ('PATH_TO_AUTH');
$jsonRpcRequest = new stdClass();
$jsonRpcRequest->jsonrpc = '2.0';
$jsonRpcRequest->method = 'searchCrossSellCampaigns';
$jsonRpcRequest->params = array($sessionID);
$jsonRpcRequest->id = $i++;
var_dump(" \n Cross-sell campaigns: \n", callRPC($jsonRpcRequest, $host));
?>
Parameters | Type/Description |
---|---|
Object |