CLI Commands

Channable Connect provides several CLI commands for managing the extension from the command line. These are useful for automation, debugging, and running tasks outside of cron.


Available Commands

Command Description
channable:selftest Run diagnostics to check configuration
channable:item:update Push product updates to Channable
channable:order:simulate Create a test order
channable:generate:token Generate or refresh the API token

channable:selftest

Runs a series of diagnostic tests to verify your configuration is correct.

bin/magento channable:selftest

Output: Shows each test with its result (success/error) and a message explaining the status.

Use this when:

  • Setting up the extension for the first time
  • Troubleshooting connection issues
  • Verifying configuration after changes

channable:item:update

Manually pushes invalidated products to Channable. This is the same action that runs via cron.

# Update all enabled stores
bin/magento channable:item:update

# Update specific store only
bin/magento channable:item:update --store-id=1

Options:

Option Description
--store-id Process only this store ID. If omitted, all enabled stores are processed.

Output: Shows the number of products updated per store.

Use this when:

  • You need immediate sync without waiting for cron
  • Debugging product update issues
  • After bulk catalog changes

channable:order:simulate

Creates a test order to verify your order import configuration.

# Basic test order (required: store-id)
bin/magento channable:order:simulate --store-id=1

# Test with specific product
bin/magento channable:order:simulate --store-id=1 --product-id=42

# Test with quantity
bin/magento channable:order:simulate --store-id=1 --product-id=42 --qty=3

# Test with different country
bin/magento channable:order:simulate --store-id=1 --country-code=DE

# Test FBB/LVB order
bin/magento channable:order:simulate --store-id=1 --lvb=1

Options:

Option Required Description
--store-id Yes Store view ID for the order
--product-id No Specific product ID (random if omitted)
--qty No Order quantity (default: 1)
--country-code No Country code for addresses (default: NL)
--lvb No Set to 1 for FBB/LVB order simulation

Output: Shows the created order increment ID on success, or error message on failure.

Use this when:

  • Testing order import configuration
  • Verifying shipping method assignment
  • Testing before going live with a marketplace

channable:generate:token

Generates a new API token for Channable connections. The token is used in feed and webhook URLs.

# Generate token (fails if token already exists)
bin/magento channable:generate:token

# Force regenerate token
bin/magento channable:generate:token --force=1

Options:

Option Description
--force Set to 1 to regenerate token even if one exists

Important: After regenerating the token, you must update all connections in Channable with the new feed/webhook URLs.

Use this when:

  • Initial setup (token is auto-generated, rarely needed)
  • Security concerns (token may have been exposed)
  • Troubleshooting authentication issues

Examples

Full deployment workflow

# After deploying code changes
bin/magento setup:upgrade
bin/magento cache:flush

# Verify configuration
bin/magento channable:selftest

# Test order import
bin/magento channable:order:simulate --store-id=1

# Push any pending product updates
bin/magento channable:item:update

Debug product sync issues

# Check configuration first
bin/magento channable:selftest

# Force push updates for specific store
bin/magento channable:item:update --store-id=1

Test international orders

# Test German order
bin/magento channable:order:simulate --store-id=1 --country-code=DE

# Test Belgian order
bin/magento channable:order:simulate --store-id=1 --country-code=BE

# Test US order (includes state)
bin/magento channable:order:simulate --store-id=1 --country-code=US

Need More Help?

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