Api client for marketplace kupivip.ru.
Simple usage
$client = \KupiVipApi\ApiClient::create(['token' => $token]);
$result = $client->getProfile(['vendorCode' => $vendorCode]);
// or if you want to remove IDE warnings
$command = $client->getCommand('getProfile', ['vendorCode' => $vendorCode]);
$result = $client->execute($command);
Also lib has another client for new integration api
$client = \KupiVipApi\IntegrationApiClient::create(['token' => $token]);
$result = $client->getOrder(['id' => '12345678']);
All available methods are described in service.json
Read more about usage of guzzle service client here.