Attach reseller information to an order
Request parameters
Parameter
Type / Description
Request sample
<?php
require('PATH_TO_AUTH'); // Authentication example: https://knowledgecenter.avangate.com/Integration/Channel_Manager_API/SOAP/02Authentication
require('PATH_TO_setPartner'); // setPartner example: https://knowledgecenter.avangate.com/Integration/Channel_Manager_API/SOAP/06Reference/Partner/00Set_partner
$refNo = 'YOUR_ORDER_REFERENCE_NUMBER';
$resellerCode = 'NEW_RESELLER_CODE';
try {
$AddedReseller = $client->setOrderReseller($sessionID, $refNo, $resellerCode);
} catch (SoapFault $e) {
echo "orderReseller: " . $e->getMessage();
exit;
}
var_dump("orderReseller ", $AddedReseller);Response parameters
Parameter
Type / Description
Errors
Error
Description
Last updated
Was this helpful?