Magento Amazon Integration CLI Commands

This is an article from the Amazon.com Integration extension for Magento 2. We've tried our best in the preparation of this help article. If you do not find the answer you were looking for, you can always send us a message through this form.

The Magmodules Amazon integration for Magento 2 includes powerful CLI commands that allow store administrators and developers to automate key operations such as importing Amazon orders or testing the API connection. This guide covers the available commands and how to use them effectively within your Magento environment.

Available CLI Commands

magmodules-amazon:import-orders

This command triggers a manual import of orders from Amazon Marketplace into your Magento 2 store.

Usage:

php bin/magento magmodules-amazon:import-orders

What it does:
Fetches all eligible orders from Amazon based on your current configuration and imports them into Magento. This is especially useful for debugging or syncing orders outside the automatic schedule.

magmodules-amazon:test-connection

This command verifies the connection between your Magento store and Amazon’s API using the credentials set in the configuration.

Usage:

php bin/magento magmodules-amazon:test-connection

What it does:
Tests the configured Client ID, Client Secret, Application ID, and Token to confirm successful API communication with Amazon. Ideal for setup validation and troubleshooting connection issues.

When to Use CLI Commands

  • During initial setup – to confirm Amazon API credentials are working correctly.
  • For debugging – to manually fetch orders and test the connection if issues arise.
  • In cron/job scripts – integrate into custom automation workflows as needed.

Requirements

  • Magento 2 with the Magmodules Amazon integration installed and enabled
  • Valid Amazon API credentials set in the configuration
  • Access to the command line interface (CLI) of your Magento 2 installation

Pro Tip

Run php bin/magento list to confirm that the magmodules-amazon commands are registered correctly in your Magento CLI. If you don’t see them, ensure the module is installed and enabled, and then run:

php bin/magento module:enable Magmodules_Amazon
php bin/magento setup:upgrade
php bin/magento cache:flush

For more detailed configuration steps, refer to our Amazon credentials setup guide.

Direct Help

At Magmodules, our support team is here to help you every step of the way. If you can't find a solution in our Knowledgebase, simply fill in the form below. We are in the Central European Timezone, and all your details are securely sent to us.
The more information you provide, the better we can assist you. Trust us to guide you through any challenge and ensure a seamless experience with our products and services.
Support by e-mail contact@magmodules.eu
star star star star star
star star star star star
Ernests Roberts Verins
the support responded very quickly
Google 13 Mar 2025
star star star star star
star star star star star
Jesse Williams
I've been using their google reviews software for a year now, without issues. I had a question recently and emailed them, and was responded to within a fee hours. Fantastic service. Truly great.
Google 06 Mar 2025
star star star star star
star star star star star
Smart Ink
(Translated by Google) Long time customer. Use various software. If you don't know something, you will always be helped promptly and politely! (Original) Al lange tijd klant. Gebruik diverse software. Indien je iets niet weet wordt je altijd netjes en snel geholpen!
Google 06 Mar 2025
star star star star star
star star star star star
Paul Leenheer
(Translated by Google) Received support on Mollie module for Magento 1, although it has been end of life for a while now! These are partners that are useful to you. Good for your brand (Mollie), good for your own services and good for themselves. TOP! (Original) Support op Mollie module voor Magento 1 gekregen waar deze toch al een tijdje end of life is! Dat zijn partners waar je wat aan hebt. Goed voor je merk (Mollie), goed voor je eigen dienstverlening en goed voor henzelf. TOP!
Google 19 Feb 2025
star star star star star
star star star star star
Redhound Algemeen
(Translated by Google) Super good support, quickly picked up and great communication, keep it up! (Original) Super goede support, snel opgepakt en fijne communicatie, ga zo door!
Google 04 Feb 2025
star star star star star
star star star star star
Simply Baby
I had some styling issues with the Mollie Payments extension on my website and Frank has been incredibly responsive and helpful with fixing these issues. Within 30 minutes of activating the extension for Frank to investigate he came back to me with the resolution and the extension now displays precisely as it should.
Google 27 Jan 2025
star star star star star
star star star star star
Ronny Oonk
(Translated by Google) Very customer-oriented, helped us a lot with a technical problem in Magento (Original) Zeer klantgericht, heeft ons goed geholpen met een technisch probleem in Magento
Google 06 Jan 2025
star star star star star
star star star star star
Gerrit van der Garde
(Translated by Google) Top company! Very good service and very good quality extensions. (Original) Topbedrijf! Hele goede service en zeer goede kwaliteit extensies.
Google 06 Jan 2025
star star star star star
star star star star star
Job
(Translated by Google) Mag modules never disappoint. Have integrated many of their modules in the past. If you are unable to resolve it yourself or have feedback, it is a matter of contacting us and we will respond quickly and professionally. Other module structures can follow this example. (Original) Magmodules stellen nooit teleur. Heb in het verleden al veel van hen modules geïntegreerd. Mocht je er zelf niet uitkomen of feedback hebben is het een kwestie van contact opnemen en er wordt snel en vakkundig gereageerd. Hier kunnen andere module bouwes een voorbeeld aan nemen.
Google 01 Oct 2024
star star star star star
star star star star star
Niels Bosman
(Translated by Google) Our webshop has been migrated to another server. Unfortunately, Channable no longer worked. After contacting Magmodules, they immediately helped and solved the problem. Clear communication and excellent service! (Original) Onze webshop is gemigreerd naar een andere server. Hierdoor werkte Channable helaas niet meer. Na contact met Magmodules hebben ze direct meegedacht en het probleem opgelost. Duidelijke communicatie en uitstekende service!
Google 16 Jul 2024