PHPackages                             luzf/amazon-selling-partner-sdk-orders - 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. [API Development](/categories/api)
4. /
5. luzf/amazon-selling-partner-sdk-orders

ActiveLibrary[API Development](/categories/api)

luzf/amazon-selling-partner-sdk-orders
======================================

API client generated from OpenAPI definition from Amazon Selling Partner API for Orders

v0(3y ago)04Apache-2.0PHP

Since Jun 14Pushed 3y agoCompare

[ Source](https://github.com/luzf/amazon-selling-partner-sdk-orders)[ Packagist](https://packagist.org/packages/luzf/amazon-selling-partner-sdk-orders)[ RSS](/packages/luzf-amazon-selling-partner-sdk-orders/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

(Unofficial) Amazon Selling Partner API client (PHP) - Selling Partner API for Orders
=====================================================================================

[](#unofficial-amazon-selling-partner-api-client-php---selling-partner-api-for-orders)

Code generated from Amazon's Swagger file using [allansun/openapi-code-generator](https://github.com/allansun/openapi-code-generator).

Generated code is well self-documented with proper PHPDoc annotations.

Please refer to [Amazon's documentation](https://github.com/amzn/selling-partner-api-docs) for detailed API behaviour explanation.

Installation
------------

[](#installation)

```
composer require bricre/amazon-selling-partner-sdk-orders
```

You will also need a [PSR-7 based client](https://www.php-fig.org/psr/psr-7/)or [Symfony's HTTP Foundation based client](https://symfony.com/doc/current/http_client.html)

So either use Guzzle (or any other PSR-7 compatible clients)

```
composer require guzzlehttp/guzzle
```

**or** Symfony HTTP Client

```
composer require symfony/http-client
```

Versioning
----------

[](#versioning)

This project matches Amazon's API versioning.

Due to the [restriction of Composer](https://getcomposer.org/doc/articles/versions.md), version number like '2021-01-01' will be changed to '2021.01.01'.

Should you found a matching version not being available. Please contact the author to generate against correct version.

Usage
-----

[](#usage)

First you need to configure [OpenAPI\\RunTime\\Client](https://github.com/allansun/openapi-runtime/blob/master/src/Client.php)with required credentials and predefined responses types. You only need to do this once (or create a service in your dependency injection).

You may also want to check out Amazon's document about [how to authorize your request](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/developer-guide/SellingPartnerApiDeveloperGuide.md#authorizing-selling-partner-api-applications)

```
