Log in
Model

UpdateCommand

Magento\Analytics\Model\Connector\UpdateCommand

What it does

This command updates the Magento Business Intelligence (MBI) subscription when the store's base URL changes.

Developers would use this class when implementing URL change handlers or troubleshooting MBI integration issues after domain migrations.

It sends a PUT request to MBI's API with the old and new URLs along with the analytics token.

Public Methods

  • execute()