PHPackages                             autocustoms/amazon-mws-merchant-fulfillment - 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. autocustoms/amazon-mws-merchant-fulfillment

AbandonedArchivedLibrary[API Development](/categories/api)

autocustoms/amazon-mws-merchant-fulfillment
===========================================

Amazon Merchant Fulfillment API PHP Client Library

v1.0.0(9y ago)054PHPPHP &gt;=5.4

Since Nov 21Pushed 6y ago2 watchersCompare

[ Source](https://github.com/AutoCustoms/amazon-mws-merchant-fulfillment)[ Packagist](https://packagist.org/packages/autocustoms/amazon-mws-merchant-fulfillment)[ RSS](/packages/autocustoms-amazon-mws-merchant-fulfillment/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Enter your credentials
----------------------

[](#enter-your-credentials)

1. Open `/Samples/.config.inc.php`
2. Edit the following lines replacing the `` values with your credentials

    ```
    define('AWS_ACCESS_KEY_ID', '');
    define('AWS_SECRET_ACCESS_KEY', '');

    define('APPLICATION_NAME', '');
    define('APPLICATION_VERSION', '');

    define('MERCHANT_ID', ''); // If you are making calls on another seller's behalf, put their merchantID here.
    define('MARKETPLACE_ID', '');

    ```

Edit the samples
----------------

[](#edit-the-samples)

In the `/Samples` folder you will find files that correspond to a particular Amazon Marketplace Web Service (Amazon MWS) operation. These files serve as examples to illustrate the code required to make the call for that particular operation. We will be using the SubmitFeed operation from the Feeds API section as an example.

1. Open `/Samples/SubmitFeedSample.php`
2. Uncomment the appropriate `$serviceURL` for the marketplace that you want to sell in. Example:

    ```
    $serviceUrl = "https://mws.amazonservices.com";

    ```
3. Populate the `$feed` variable with the feed contents. Examples:

    ```
    // From a string
    $feed = "Feed content";

    // From a file
    $feed = file_get_contents("feed.txt");

    ```
4. Uncomment `$marketplaceIdArray` and fill the array with the MarketplaceId values that you want to submit the feed to.
5. Uncomment one of the two Amazon MWS request building methods between lines 126 - 170.
6. Uncomment the following lines:

    ```
    invokeSubmitFeed($service, $request);

    @fclose($feedHandle);

    ```
7. Start your server and navigate to the script's address to run it.

FAQ
===

[](#faq)

Why does cURL return `Error Response Status Code: 0`?
-----------------------------------------------------

[](#why-does-curl-return-error-response-status-code-0)

If you receive the error `Error Response Status Code: 0` from cURL when attempting to send a request to Amazon MWS using cURL, find and set `CURLOPT_SSL_VERIFYPEER` to `false`.

Why is FeedSubmissionResult being cut off?
------------------------------------------

[](#why-is-feedsubmissionresult-being-cut-off)

This occurs when the server response is saved to memory. To avoid this, save the response to a file.

```
$responseFile = fopen("response.xml", "w");
fwrite($responseFile, $dom->saveXML());
fclose($responseFile);

```

What is in the `/Mock` folder?
------------------------------

[](#what-is-in-the-mock-folder)

The mock folder contains canned responses that simulate an Amazon MWS response. Mock responses are useful for testing without actually sending a request to Amazon MWS.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3504d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3a8ac117e5d5c8285b320fcc0a7544e9c4a1272fb60d9860fd1b363281bcfad?d=identicon)[autocustoms](/maintainers/autocustoms)

---

Top Contributors

[![hglattergotz](https://avatars.githubusercontent.com/u/506901?v=4)](https://github.com/hglattergotz "hglattergotz (4 commits)")[![ahawks122](https://avatars.githubusercontent.com/u/441206?v=4)](https://github.com/ahawks122 "ahawks122 (3 commits)")

### Embed Badge

![Health badge](/badges/autocustoms-amazon-mws-merchant-fulfillment/health.svg)

```
[![Health](https://phpackages.com/badges/autocustoms-amazon-mws-merchant-fulfillment/health.svg)](https://phpackages.com/packages/autocustoms-amazon-mws-merchant-fulfillment)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)[pixelant/pxa-social-feed

Add Facebook, Instagram, and Twitter feeds to your site.

2349.3k](/packages/pixelant-pxa-social-feed)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
