PUT /admin-api/customers/group/{customerGroupId}

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 Shop Parameters > Customer Settings Customer Settings Page is displayed correctly.
Click on the Groups tab Customers - Groups page is well displayed
Reset all filters of Groups table All filters are reset. All Groups are displayed
Click “Add new group” The “Add new” page should be displayed correctly
Create a new Customer group > Save Message “Successful creation” is displayed

There is one more group in the list.
Filter by groupe name with the name of the created group 1 record found
Request with method PUT the endpoint “https://[url of your shop]/admin-api/customers/group/{customerGroupId}” with modified data (relative to  the data used for the creation) The HTTP code is 200.

The return value is in JSON

The return value data are consistent relative to sent data.
Filter by groupe ID with the ID of the created group 1 record found
Click on Edit for the filtered group The Edit page will be displayed correctly

The return data keys are consistent relative to BackOffice data.
Click on the Groups tab Customers - Groups page is well displayed
Filter by groupe ID with the ID of the created group 1 record found
Delete the filtered group > Click Yes Message “Successful deletion” is displayed

The filtered group is deleted
Reset all filters of Groups table All filters are reset. All Groups are displayed
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