Download the PHP package merch-one/php-api-sdk without Composer
On this page you can find all versions of the php package merch-one/php-api-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download merch-one/php-api-sdk
More information about merch-one/php-api-sdk
Files in merch-one/php-api-sdk
Download merch-one/php-api-sdk
More information about merch-one/php-api-sdk
Files in merch-one/php-api-sdk
Please rate this library. Is it a good library?
Informations about the package php-api-sdk
PHP SDK for MerchOne API integration
This package provide a set of tools that allow developers to easily integrate with MerchOne API.
Installation
Overview
- Introduction
- Basic Usage
- Helpers
- Exceptions
Introduction
Client provide 3 different API's to interact with.
- Catalog API
- Orders API
- Shipping API
To get the list of available endpoints, please check MerchOne API Documentation
Basic Usage
Create an instance of MerchOne\PhpApiSdk\Http\Client
- The
Client
class accepts two parameters:$version
- API version to interact with. Default value isbeta
.- See Helpers for available versions.
$clientOptions
- Custom options to use with request.- See Guzzle Documentation for available options.
- The
User-Agent
,Accept
andContent-Type
headers, as well ashttp_error
properties CAN NOT be overwritten !
Helpers
- Class
MerchOne\PhpSdk\Util\OrderStatus
provides a full list of Order statuses.
Check more in MerchOne API Documentation
Exceptions
The package can throw the following exceptions:
Exception | Reason |
---|---|
MerchOneApiClientException | Request is not correct or validation did not pass. |
MerchOneApiServerException | A server error occurred. |
InvalidApiVersionException | An invalid API version was provided to the Client. |
InvalidCredentialsException | Invalid API credentials was provided to the Client. |
Tests
Package comes with a set of tests to ensure that everything works as expected. To run tests, execute the following command:
All versions of php-api-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
guzzlehttp/guzzle Version ^6|^7
tightenco/collect Version ^8.83
ext-json Version *
ext-ctype Version *
guzzlehttp/guzzle Version ^6|^7
tightenco/collect Version ^8.83
ext-json Version *
ext-ctype Version *
The package merch-one/php-api-sdk contains the following files
Loading the files please wait ....