Skip to content

SDK with OAuth2 for the unifysell API which allows you to painless integrate many eCommerce channels 🕒

License

Notifications You must be signed in to change notification settings

unifysell/unifysell-sdk-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Official Unifysell API SDK

This packages combines the group of packages needed.

Installation

Include the package via composer

to use in composer add to the require section:

"require": {
    "unifysell/unifysell-sdk-php": "*"
}

Installing composer

see https://getcomposer.org/download/

Usage

You can have a look at the example/complete-example.php file for a basic usage example.

Authenticate

Download Access Token from unifysell Control Center (UCC).

Make your first request

$config = Unifysell\SDK\Configuration::getDefaultConfiguration()->setApiKey(
    'Authorization', 
    '----INSERT BEARER TOKEN HERE----'
);
$config->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Unifysell\SDK\Api\OrdersApi(
    new GuzzleHttp\Client(),
    $config
);

$result = $apiInstance->getOrder(1);

About

SDK with OAuth2 for the unifysell API which allows you to painless integrate many eCommerce channels 🕒

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages