Retrieve campaign texts
Request parameters
Parameter
Type / Description
Request sample
<?php
require ('PATH_TO_AUTH');
$LanguageCode = 'de'; //returns title and description texts you set under https://secure.2checkout.com/cpanel/network_cross_selling_settings.php
$jsonRpcRequest = new stdClass();
$jsonRpcRequest->jsonrpc = '2.0';
$jsonRpcRequest->method = 'getCrossSellTexts';
$jsonRpcRequest->params = array(
$sessionID,
$LanguageCode
);
$jsonRpcRequest->id = $i++;
var_dump(" \n Cross-sell campaigns: \n", callRPC($jsonRpcRequest, $host));Response parameters
Parameter
Type / Description
Last updated
Was this helpful?