

CLI Commands
This guide documents all command-line tools available in Feedback Company Reviews. These commands help you manage reviews and invitations outside of the admin interface.
Available Commands
| Command | Description |
|---|---|
shopreview:feedbackcompany:sync |
Synchronize reviews from Feedback Company |
shopreview:feedbackcompany:import-new |
Import only new reviews |
shopreview:feedbackcompany:invitations |
Build and process invitation queue |
shopreview:feedbackcompany:invitations-send |
Force send a specific invitation |
shopreview:feedbackcompany:selftest |
Run diagnostic self-test |
Sync Reviews
Synchronize reviews from Feedback Company API.
bin/magento shopreview:feedbackcompany:sync [options]
Options
| Option | Description |
|---|---|
--all |
Sync all reviews (full resync) |
--offset=N |
Start from review N (for pagination) |
--limit=N |
Limit to N reviews per request |
Examples
Sync new reviews only (incremental):
bin/magento shopreview:feedbackcompany:sync
Full resync of all reviews:
bin/magento shopreview:feedbackcompany:sync --all
Sync with pagination (useful for large catalogs):
bin/magento shopreview:feedbackcompany:sync --offset=0 --limit=100
bin/magento shopreview:feedbackcompany:sync --offset=100 --limit=100
Output
50 Main Store reviews updated. Total Main Store reviews count: 1250
Import New Reviews
Import only new reviews since last sync.
bin/magento shopreview:feedbackcompany:import-new
This is the command that runs via cron. It checks for reviews newer than the last import date.
Output
15 Main Store reviews updated. Total Main Store reviews count: 1265
Process Invitations
Build the invitation queue from qualifying orders and send pending invitations.
bin/magento shopreview:feedbackcompany:invitations [options]
Options
| Option | Description |
|---|---|
--limit=N |
Limit queue generation and processing to N items (default: 100) |
What It Does
- Queue Building: Finds orders matching invitation profile criteria (status, customer group, delay)
- Queue Processing: Sends queued invitations to Feedback Company API
Examples
Process with default limit (100):
bin/magento shopreview:feedbackcompany:invitations
Process larger batch:
bin/magento shopreview:feedbackcompany:invitations --limit=500
Output
25 orders were queued for review.
23 orders were pushed to review platform.
Send Specific Invitation
Force send a specific invitation by ID.
bin/magento shopreview:feedbackcompany:invitations-send <invitation-id>
Arguments
| Argument | Required | Description |
|---|---|---|
invitation-id |
Yes | The invitation ID from the grid |
Examples
Send invitation #42:
bin/magento shopreview:feedbackcompany:invitations-send 42
Use Cases
- Retry a failed invitation
- Test invitation delivery
- Send invitation immediately (bypassing delay)
Output
1 orders were pushed to review platform.
Self-Test
Run diagnostic checks on the extension.
bin/magento shopreview:feedbackcompany:selftest
Checks Performed
- Extension enabled
- Account credentials valid
- API connection working
- Database tables exist
- Cron configured
Output
Extension Status: success
- Module is enabled
Account Connection: success
- All accounts connected successfully
API Connection: success
- API responding normally
Database: success
- All required tables exist
Cron: success
- Cron jobs are scheduled
Failed Check Example
Account Connection: failed
- Account "Main Store": Invalid credentials
Cron Jobs
These commands are also scheduled via Magento cron:
| Cron Job | Default Schedule | Command Equivalent |
|---|---|---|
| Review Import | Configurable (hourly/6h/daily) | import-new |
| Invitation Queue | Configurable | invitations |
To manually trigger cron group:
bin/magento cron:run --group feedbackcompany
Scripting Examples
Daily Full Sync Script
#!/bin/bash
cd /var/www/magento
bin/magento shopreview:feedbackcompany:sync --all
bin/magento cache:flush block_html full_page
Invitation Processing Script
#!/bin/bash
cd /var/www/magento
bin/magento shopreview:feedbackcompany:invitations --limit=200
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Us - Get help from our team