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.

Magento Amazon Integration CLI Commands

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
Bleijenberg winkelinrichting en materialen
Goed bereikbaar, reageren snel en denken oplossingsgericht. Een aanrader.
Google Yesterday
star star star star star
star star star star star
Patrick Verduijn
Magmodules biedt plugins aan die van hoge kwaliteit zijn tegen een goede prijs, waar dit bedrijf in uitblinkt is de bereidheid om de zeldzame feedback & problemen met de plugins te willen onderzoeken, mee te willen denken in het debuggen van problemen en goede oplossingen toe te passen. In mijn decennium ervaring met Magento & 3th parties is Magmodules absoluut een uniqum binnen de markt.
Google Last week
star star star star star
star star star star star
Erik de Groot
Magemodules heeft hele sterke Magento extensies en een proactieve support. Al jaren heel erg tevreden over jullie service en producten!
Google 12 days ago
star star star star star
star star star star star
René Zeuner
We are using the Mollie Magento extension from Magmodules. It works excellently without flaws. Very fast, competent and friendly support. Thanks!
Google 30 days ago
star star star star star
star star star star star
R. U.
Erg goed team, reageren snel en duidelijk en hebben met toegang tot onze database erg goed geholpen (eigenlijk een gratis customization).
Google 18 Jun 2025
star star star star star
star star star star star
Hugo de Groot
Uitstekende support! Wij gebruiken o.a. de Rich Snippets Suite extensie voor onze Magento 2 webshop (Hyvä) en hadden een specifieke vraag over structured data op PLP-pagina’s. Binnen no-time kregen we een inhoudelijk en duidelijk antwoord. Zeer prettig contact en goed onderbouwde uitleg. Absoluut een betrouwbare partner voor Magento-extensies!
Google 13 Jun 2025
star star star star star
star star star star star
Rick Manders
Dit is nog eens een modulemaker! Stopt niet tot het werkt, blijft enthousiast. Grote dank!
Google 04 Jun 2025
star star star star star
star star star star star
L vd B
Topservice van Magmodules dat maak je niet vaak meer mee! Toen we tegen vervelende problemen aanliepen met onze Mollie betalingen, klopten we in eerste instantie aan bij Mollie zelf. Helaas bleef een reactie lang uit en de hulp die wij kregen was niet echt constructief. Gelukkig bracht Frank van Magmodules daar meteen verandering in. Hij pakte het probleem direct op, dacht actief met ons mee en nam echt de tijd om alles helder uit te leggen. Niet alleen werd het probleem snel opgepakt, maar we leerden onderweg ook nog wat bij over de technische achtergrond. Kortom: Magmodules levert niet alleen een goed Magento product, maar staat er ook echt als het nodig is. Zo’n service zie je tegenwoordig niet vaak meer! Dankjewel Frank.
Google 13 May 2025
star star star star star
star star star star star
Jeroen Custers
Zeer professionele Magento plugin developer met hele goede ondersteuning.
Google 30 Apr 2025
star star star star star
star star star star star
Rick Manders
De snelheid van reageren en het niveau van meedenken zijn bewonderingswaardig! Uniek bij een modulebouwer! Een kleine vijf jaar ervaring met Magmodules en telkens staan ze voor je klaar bij inhoudelijke vragen. Goed bezig.
Google 28 Apr 2025