http://boxberry.ru/business_solutions/it_solutions/files/api_boxberry.pdf
<?php
...
require_once 'boxberry_api/autoload.php';
$client = new \Boxberry\Client\Client();
$client->setKey('<Ключ АПИ>');
...
?>
<?php
...
$listStatusesRequest = $client->getListStatuses();
$listStatusesRequest->setImId('<Номер отправления>');
$listStatusesCollection = $client->execute($listStatusesRequest);
...
?>
<?php
...
$parselCreate = $client->getParselCreate();
$parsel = new \Boxberry\Models\Parsel();
/*
Установка полей отправления
*/
$parselCreate->setParsel($parsel);
$response = $client->execute($parselCreate);
...
?>
<?php
...
$listCities = $client->getListCities();
$listCitiesCollection = $client->execute($listCities);
...
?>