Are there api end points for installing and activating a plugin?

Hi,

I have a shopware app, in which i want to help my clients to add matomo tracking code to their shopware shops. I couldnt find a proper way to do it except what chatgpt tells me: i need to make a custom plugin which will injects the code, then i need to „Use the /api/v{version}/plugin/{pluginId}/install endpoint to install the plugin.
Activate Plugin: Use the /api/v{version}/plugin/{pluginId}/activate endpoint to activate the plugin.“

Is it true that there exist the api end points for installing and activating a plugin? I can’t find official docs for it.

Thanks in advance:)

I’ve never heard of it. There is a CLI command for that: bin/console plugin:install xyz.

But is should be easy to write your own plugin api plugin.

:slight_smile:

Grüße
Matthias

1 „Gefällt mir“

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.