PHP client for InSales API

There is no license information available for the latest version (dev-master) of this package.

PHP client for InSales API

README

#API-клиент для работы с сервисом InSales
Установка:

composer require insales/api-client-php dev-master

Пример использования:

require_once 'vendor/autoload.php';

$client = new InSalesAPIApiClient('identity', 'password', 'host_name');

$client->createClient(
[
    'client' => [
        'name' => uniqid(),
        'surname' => uniqid(),
        'middlename' => uniqid(),
    ]
]
);

$client->getClient($id);
$client->getClients();
$client->updateClient($id, $data);
$client->removeClient($id);

Source

Add a Comment

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *