An open API service indexing awesome lists of open source software.

https://github.com/unifysell/unifysell-sdk-php

SDK with OAuth2 for the unifysell API which allows you to painless integrate many eCommerce channels :clock3:
https://github.com/unifysell/unifysell-sdk-php

api ecommerce openapi openapi3 php sdk unifysell

Last synced: 21 days ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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);