PATCH /admin-api/module/{technicalName}/reset

Details

Steps

Step Description Expected result
In BO, Go to Advanced Parameters > Authorization Server Authorization Server Page is displayed correctly.
No records found in the table
Click on the button “Add new API access” New API access Page is displayed correctly
* Fill the form with following data
* Click on “Generate client secret & Save” button
* The message “The API access and Client secret has been generated sucessfully” is displayed
* The message “Client secret: " is displayed
Return to BO > Advanced Parameters > Authorization Server and get the ID of the first row Authorization Server Page is displayed correctly.
1 record found in the table
In BO, Go to Modules > Module Manager Module Manager Page is displayed correctly.
Filter on the module name for a specific module and fetch the module technical name. 1 record found.
Click on “Configure” button at the right of the module * The “Configure” page is displayed with 2 tabs
** Configuration
** Statistics
* “Wishlist default title” has “My wishlist” default content
* “Create button label” has “Create new list” default content
* “Wishlist page name” has “My Wishlists” default content
Change “Wishlist default title” field from “My wishlist” to “TEST”
Click on “Save” button
A successful message “Successful update” is displayed
Request with method PATCH the endpoint “https://[url of your shop]/admin-api/module/{technicalName}/reset” where {technicalName} is the previous technicalName get with data The return value is in JSON.

The return data has multiples keys : “moduleId”, “technicalName”, “version”, “enabled”, “installed”

The return data keys are consistent relative to BackOffice data.
Recharger la page de Configuration du module Vérifier que le wording du champ “Wishlist default title” a été redéfini à celui par défaut
Change “Wishlist default title” field from “My wishlist” to “TEST”
Click on “Save” button
A successful message “Successful update” is displayed
Request with method PATCH the endpoint “https://[url of your shop]/admin-api/module/{technicalName}/reset” where {technicalName} is the previous technicalName get with data The return value is in JSON.

The return data has multiples keys : “moduleId”, “technicalName”, “version”, “enabled”, “installed”

The return data keys are consistent relative to BackOffice data.
Recharger la page de Configuration du module Vérifier que le wording du champ “Wishlist default title” a été redéfini à celui par défaut
In BO, Go to Advanced Parameters > Authorization Server Authorization Server Page is displayed correctly.
1 record found in the table
On the first row, click on the button “Three points” The dropdown is displayed
Click on the Delete Button in the dropdown A modal appeared
Click on the Confirm Button in the modal The message “Successful deletion” is displayed
No records found in the table