PHPackages                             amzn-spapi/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. [HTTP &amp; Networking](/categories/http)
4. /
5. amzn-spapi/sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

amzn-spapi/sdk
==============

Amazon Selling Partner APIs official client library for PHP.

1.7.1(3mo ago)717.3k↑11.9%5Apache-2.0PHPPHP ^8.3

Since Mar 6Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/amzn/selling-partner-api-php-release)[ Packagist](https://packagist.org/packages/amzn-spapi/sdk)[ Docs](https://github.com/amzn/selling-partner-api-sdk)[ RSS](/packages/amzn-spapi-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (14)Used By (0)

PHP SDK for Selling Partner API
-------------------------------

[](#php-sdk-for-selling-partner-api)

[![Packagist](https://camo.githubusercontent.com/338792197a489ad6d626d2830f30284558f13fc9f32e106af84020a15a7fe4df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d7a6e2d73706170692f73646b3f6c6162656c3d5061636b6167697374)](https://packagist.org/packages/amzn-spapi/sdk)

[![Video Thumbnail](https://raw.githubusercontent.com/amzn/selling-partner-api-sdk/refs/heads/main/php/docs/video-thumbnail.png)](https://www.youtube.com/watch?v=ZxG7wvmelj0)

*Click on the image to watch the video.*

The Selling Partner API SDK for PHP enables you to easily connect your PHP application to Amazon's REST-based SP-API.

This SDK helps developers:

- Authenticate with Amazon's Selling Partner API (SP-API)
- Send and receive data using RESTful endpoints
- Manage Amazon marketplace operations programmatically

- [Learn more about SP-API](https://developer.amazonservices.com/)
- [API Documentation](https://developer-docs.amazon.com/sp-api/)

### Getting started

[](#getting-started)

#### Credentials

[](#credentials)

Before you can use the SDK, you need to be registered as a Selling Partner API developer. If you haven't done that yet, please follow the instructions in the [documentation](https://developer-docs.amazon.com/sp-api/docs/sp-api-registration-overview). You also need to register your application to get valid credentials to call SP-API. If you haven't done that yet, please follow the instructions in the [documentation](https://developer-docs.amazon.com/sp-api/docs/registering-your-application). If you are already registered successfully, you can find instructions on how to view your credentials in the [documentation](https://developer-docs.amazon.com/sp-api/docs/viewing-your-application-information-and-credentials).

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

[](#installation--usage)

### Minimum Requirements

[](#minimum-requirements)

To run the SDK you need PHP 8.3 or higher.

### Installation

[](#installation)

Install the SDK via Composer:

```
composer require amzn-spapi/sdk
```

### Manual Installation

[](#manual-installation)

By using the download files, composer dependencies are already installed. You only need to include `autoload.php`:

```
