CLI Commands

Run Bol.com integration commands from the terminal for testing, debugging, and manual operations.

Usage: Run from your Magento root directory.


Test Connection

Test API connectivity for your Bol.com accounts.

# Test all accounts
bin/magento magmodules-bol:test-connection

# Test specific account
bin/magento magmodules-bol:test-connection 1

Output:

  • Success: Confirms API connection works
  • Failure: Shows error message with details

Use when:

  • Setting up a new account
  • Troubleshooting API issues
  • Verifying credentials after changes

Import Orders

Import orders from Bol.com into Magento.

# Import from all accounts
bin/magento magmodules-bol:import-orders

# Import from specific account
bin/magento magmodules-bol:import-orders 1

What it does:

  1. Fetches open orders from Bol.com API
  2. Creates Magento orders for new items
  3. Updates order statuses as needed

Use when:

  • Testing order import setup
  • Manually importing after downtime
  • Debugging order import issues

Export Offers

Export product offers to Bol.com.

bin/magento magmodules-bol:export-offers

What it does:

  1. Collects offers pending export
  2. Sends offer data to Bol.com API
  3. Updates local sync status

Use when:

  • Testing offer export setup
  • Forcing immediate sync
  • After bulk product updates

Export Shipments

Export shipment information to Bol.com.

bin/magento magmodules-bol:export-shipments

What it does:

  1. Finds shipments pending export
  2. Sends shipment data to Bol.com
  3. Updates export status

Use when:

  • Testing shipment export
  • Syncing after manual shipment creation
  • Recovering from export failures

Import Competing Offers

Fetch competitor pricing data from Bol.com.

bin/magento magmodules-bol:import-offer-lists

What it does:

  1. Gets competing offer data for your EANs
  2. Stores competitor prices and conditions
  3. Updates Competing Offers grid

Use when:

  • Analyzing competition manually
  • Updating pricing strategy
  • Checking market position

Process Product Profiles

Process product profiles to generate or update offers.

bin/magento magmodules-bol:process-product-profiles

What it does:

  1. Evaluates profile conditions against products
  2. Creates new offers for matching products
  3. Updates existing offers with profile changes
  4. Removes offers for non-matching products

Use when:

  • After creating/editing profiles
  • After bulk product imports
  • Testing profile conditions

Process Queue

Process the synchronization queue.

bin/magento magmodules-bol:process-queue

What it does:

  1. Processes pending queue items
  2. Executes scheduled sync operations
  3. Handles retry logic for failed items

Use when:

  • Queue processing is delayed
  • Clearing backlog manually
  • Debugging sync issues

Common Options

Most commands support these patterns:

# Verbose output
bin/magento magmodules-bol:command-name -v

# Very verbose output
bin/magento magmodules-bol:command-name -vv

# Debug output
bin/magento magmodules-bol:command-name -vvv

Automation

Cron Jobs

Commands run automatically via cron. Configure frequencies at:

Location: Stores → Configuration → Bol.com → Cron Settings

Manual Scheduling

For custom automation, add to your crontab:

# Import orders every 15 minutes
*/15 * * * * cd /path/to/magento && bin/magento magmodules-bol:import-orders

# Export offers every hour
0 * * * * cd /path/to/magento && bin/magento magmodules-bol:export-offers

Need More Help?

Documentation:

Support:

Created:
Updated:
star star star star star
star star star star star
Alexandru-Manuel Carabus
Magmodules sets the bar for Magento module quality and support—we check their catalog first for client feature requests, and they’re our first choice for licenses.
Google 28 days ago
star star star star star
star star star star star
Matt Austin
Possibly the fastest support response times of any Magento Extension vendor. Great extensions too!
Google 09 Sep 2025
star star star star star
star star star star star
Jan Privé
Dankzij de heldere uitleg en snelle reactie van Magmodules kon mijn vraag, en dus mijn Magento-probleem, binnen enkele uren worden beantwoord. Doeltreffend, zonder moeilijke termen, gewoon zo als het zou moeten zijn.... Bedankt!
Google 05 Sep 2025
star star star star star
star star star star star
Denis Metzler
To evaluate a provider, it is not enough to consider only the product offered, but also its after-sales service, such as support and troubleshooting. Magmodules has been extremely satisfactory at all levels on multiple occasions and sets the bar at the top when comparing the competition.
Google 02 Sep 2025
star star star star star
star star star star star
Bleijenberg winkelinrichting en materialen
Goed bereikbaar, reageren snel en denken oplossingsgericht. Een aanrader.
Google 30 Jul 2025
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 25 Jul 2025
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 18 Jul 2025
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 Jun 2025
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