NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #2672 most downloaded on Packagist
PHP client for Amazon's Selling Partner API
Latest stable
v7.4.13
Last release 23 days ago
29 Oct 2026
Ships on a steady schedule
a new release about every 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
143 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Content types should now be passed by using one of the constants in `lib/ContentType.php`, such as ContentType::XML. This change is backwards compatib
lib/ContentType.php, such as ContentType::XML. This change is backwards compatible.Document class now supports XLSX documents, like those produced by calling createReport with report type RFQD_BULK_DOWNLOAD. Document::getData() will return a phpoffice/phpspreadsheet Spreadsheet object when Document is given content type ContentType::XLSX.Reports and feeds with content-type application/pdf are now supported (they can be downloaded via Document::download(), although parsing them with Doc
application/pdf are now supported (they can be downloaded via Document::download(), although parsing them with Document::getData() is still unsupported). Added in #40 (cc @Ludofloria)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Support for role-based authentication! You can now pass a role ARN to the ConfigurationOptions constructor to work with apps that were created using a
ConfigurationOptions constructor to work with apps that were created using an IAM role ARN, instead of needing to register a new app using an IAM user ARN. This resolves #24.Configuration constructor was broken, because the expected configuration array keys had changed. Those changes have been reverted, so legacy configuration setups should work properly now.Deprecated static .env-based configuration in favor of passing a ConfigurationOptions instance to Configuration.php. Also deprecated passing an array…
.env-based configuration in favor of passing a ConfigurationOptions instance to Configuration.php. Also deprecated passing an array of configuration info Configuration.php's constructor for the same reason. The deprecated configuration methods will continue to be supported until v3.0.0. This closes #1. Big thanks to @cpiggott for his help on this!accessToken was passed via Configuration.phpConfigurationOptions.php configuration classSetStickering PrepInstructions enum valueAllow region and endpoint to be passed via Configuration without requiring them to be defined in the .env (#19, thanks @Nilanth!)
Configuration without requiring them to be defined in the .env (#19, thanks @Nilanth!)Remove trailing commas in selectHeaders function calls in *Api.php files, to be compatible with PHP 7.2.
selectHeaders function calls in *Api.php files, to be compatible with PHP 7.2. (#16)Wait until an API method is called before retrieving an access token, to enable making grantless requests with no defined access token. Before this, c
LWA_ACCESS_TOKEN defined in .env even though you might not need it.InvalidSignature error when uploading a feed document
InvalidSignature error when uploading a feed documentREADME.mdAllow 4.x versions of vlucas/phpdotenv for backwards compatibility
4.x versions of vlucas/phpdotenv for backwards compatibilityBoxing PrepInstructionDocument contents are UTF-8 encoded before handling in Document.php. Amazon encodes their documents in ISO-8859-1.
Document.php. Amazon encodes their documents in ISO-8859-1.PrepType from Polybagging Set creation to SetCreationPolybagging Set creation enum value added to PrepInstruction
Polybagging Set creation enum value added to PrepInstructionUpdated Api classes to show full response body text on non 2xx responses for easier debugging
Document class (text/xml)SimpleXML object for XML reports, and an associative array for tsv/csvs.Only load environment variables from .env in Configuration.php when they aren't already loaded
.env in Configuration.php when they aren't already loadedDocument.php constructorSwitched project namespace from Evers\SellingPartnerApi to SellingPartnerApi
Evers\SellingPartnerApi to SellingPartnerApilib/Model corresponding to the segment of the Selling Partner API they correspond to (A+ Content API, Feeds API, etc)docs/Model corresponding to the directory in lib/Model that contains the relevant model classUpdated README to reflect switch to OpenAPI
README to reflect switch to OpenAPI.phpunit.xml.dist, .travis.yml)composer.jsonAdd back accidentally removed file autoload in composer.json
composer.jsonFix double URL encoding in Authentication.php
Authentication.phpFix error in Amazon's FBA Inventory model (parameter details should be detail) and regenerate related code
details should be detail) and regenerate related codeFix versioning info (bump composer.json version)
composer.json version)Prevent CatalogApi, SmallAndLightApi, and MerchantFulfillmentApi models from overwriting each other during codegen. All three Swagger models all had s
CatalogApi, SmallAndLightApi, and MerchantFulfillmentApi models from overwriting each other during codegen. All three Swagger models all had schema types called Item, which have now been renamed to CatalogItem, FBAItem, and FBMItem, respectively.CatalogApi schema types, to prevent the ObjectSerializer from wrongly assuming they had different names than they actually did at runtime.Fix implode calls to avoid deprecation warnings
implode calls to avoid deprecation warningsSPAPI_ENDPOINT is loaded from .envUpdate .env.example to make it clearer what the different environment variables are
.env.example to make it clearer what the different environment variables areREADME to include instructions on filling out .env.exampleThis is the first public version of the Selling Partner API PHP library. It may still have issues that need to be ironed out -- if you encounter any p
This is the first public version of the Selling Partner API PHP library. It may still have issues that need to be ironed out -- if you encounter any problems, please file a bug report and I'll fix it as soon as possible.
One column per quarter.