Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

PRICEPLAN REST API


$pp = new priceplaneAPI('username','password');
//получаем список переменных
$variables = $pp->getVariables();
//получаем типы данных
$measures = $pp->getMeasures();
//получаем поля клиентов
$ct = $pp->getClientTypes();

//полученине информации о продукте
try {
	echo('<pre>');
	print_r($pp->getProductById(1));
	echo('</pre>');

} catch (Exception $e) {

    print 'Error: '.$e->getMessage()."\n";

}

//пополнение баланса
$param = array(
    'amount' => 100,
    'comment' => 'Бонус за регистрацию',
    'type' => 'internal'
);
$pp->increaseBalance(1,$param);

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.