Skip to main content

Command Line Interface

Below are the available commands for the Ecommerce Chatbot module.

Command to sync store data

bin/magento mirasvit:echat:sync

The command syncs your store data (products, categories, and CMS pages) to the EChat cloud knowledge base. The chatbot uses this data to provide accurate answers to customer questions.

OptionDescription
--typeSync only a specific data type. Accepted values: product, category, cms_page. If omitted, all types are synced.
Examples
  • Sync all data types:

    bin/magento mirasvit:echat:sync
  • Sync only products:

    bin/magento mirasvit:echat:sync --type=product
  • Sync only CMS pages:

    bin/magento mirasvit:echat:sync --type=cms_page