PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Dmitry Mamontov   Gollos Rest API Client   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Gollos Rest API Client
Manage e-commerce operations using the Gollos API
Author: By
Last change: Update of example.php
Date: 1 month ago
Size: 461 bytes


Class file image Download
require 'GollosRestApi.php';

//Getting information about the leads
$gollos = new GollosRestApi($key, $secretKey);
$order = $gollos->getOrders(array('id' => 25648));

//Creating a client
$gollos = new GollosRestApi($key, $secretKey);
$customer = array(
'first_name' => 'Test',
'last_name' => 'Test',
'username' => 'dtest',
'password' => uniqid(),
'ip' => ''
$result = $gollos->addCustomers($customer);