Shopware
6.5 or higher
Installation, setup, and first synchronization
Prerequisites
Shopware
6.5 or higher
PHP
8.2+
SSL/TLS
Valid HTTPS certificate
File Transfer (optional)
SFTP/FTPS access
Setup
From Shopware Store
Manual Installation
custom/plugins/bin/console plugin:refreshActivation
Background Processing
For production, run a persistent queue worker to process imports in the background.
Start Queue Worker
bin/console messenger:consume async --time-limit=3600For production, use systemd, supervisor, or cloud-native task runner.
Authentication
In Shopware Administration
⚠️ Important
Token is displayed only once. Store it securely in environment variables. If lost, create a new one.
Testing
Test with cURL (Dry-Run)
curl -X POST https://SHOP_URL/api/external-sync/dry-run \
-H "Authorization: Bearer API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"items": [{
"identifier": { "type": "productNumber", "value": "SW10001" },
"stock": { "quantity": 100 }
}]
}'Quick Start
⏱ Step 1 (2 min)
Install plugin
Use Shopware Store installation
⏱ Step 2 (2 min)
Create API token
Admin → CWS External Sync → Create token with stock:write scope
⏱ Step 3 (3 min)
Test dry-run
Use cURL example above to test payload (no data modified)
⏱ Step 4 (2 min)
Execute live update
Same request without dry-run endpoint to actually update products
✓ Done
Check logs
CWS External Sync → Logs to verify results
Next Steps