PHPackages                             knawat/suppliers-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. knawat/suppliers-sdk

ActiveLibrary

knawat/suppliers-sdk
====================

001PHP

Since Feb 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/HazemKhaled/knawat-suppliers-sdk)[ Packagist](https://packagist.org/packages/knawat/suppliers-sdk)[ RSS](/packages/knawat-suppliers-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

SwaggerClient-php
=================

[](#swaggerclient-php)

Knawat Supply API allows you to list your products on Knawat and get purchase orders, it's also allow you to set order status and shipping tracking number. ## Getting Started In Knawat each supplier has a different `consumerKey` and `consumerSecret`, which you can get from your account manager. You need those keys for API authorization. Knawat suppliers npm package: [![npm version](https://camo.githubusercontent.com/b839c17bed8735ab591ebe730de229b8155f409055129156f6082d832d3cde04/68747470733a2f2f62616467652e667572792e696f2f6a732f2534306b6e61776174253246737570706c696572732e737667)](https://badge.fury.io/js/%40knawat%2Fsuppliers). ## Support and Chat We are happy to receive your questions. click here to [chat with us](https://gitter.im/Knawat/Lobby). ## Errors Handling This API uses standard HTTP status codes to indicate the status of a response. There are two main categories of error responses. Each have a different response payload structure. \* Simple errors \* Detailed errors # Simple errors | Name | Code | Description | | -------- | -------- | -------- | | Bad request | 400 | The request was unacceptable | | Unauthorized | 401 | The request has not been applied because it lacks valid authentication credentials for the target resource. | | Forbidden | 403 | The server understood the request, but is refusing to fulfill it | | Not Found | 404 | The server has not found anything matching the request URI | | Not acceptable | 406 | The server is unable to return a response in the format that was requested by the client | | Unsupported Media Type | 415 | The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method | | Too many requests | 429 | Too many requests hit the API too quickly | | Server error | 500 | A technical error occurred | # Detailed errors | Name | Code | Description | | -------- | -------- | -------- | | Un-processable entity | 422 | The server understands the content type of the request entity, and the syntax of the request entity is correct, but was unable to process the contained instructions. |

This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.1.0
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen For more information, please visit

Requirements
------------

[](#requirements)

PHP 5.5 and later

Installation &amp; Usage
------------------------

[](#installation--usage)

### Composer

[](#composer)

To install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}

```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
    require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
```

Tests
-----

[](#tests)

To run the unit tests:

```
composer install
./vendor/bin/phpunit

```

Getting Started
---------------

[](#getting-started)

Please follow the [installation procedure](#installation--usage) and then run the following:

```
