updateCustomerGroups - Customer Module Reference
This documentation provides a reference to the updateCustomerGroups
method. This belongs to the Customer Module.
updateCustomerGroups(groupId, data, sharedContext?): Promise<CustomerGroupDTO>
This method updates an existing customer group.
Example
Parameters
groupId
stringRequiredThe group's ID.
The attributes to update in the customer group.
Returns
The updated customer group.
updateCustomerGroups(groupIds, data, sharedContext?): Promise<CustomerGroupDTO[]>
This method updates existing customer groups.
Example
Parameters
groupIds
string[]RequiredThe IDs of customer groups.
The attributes to update in the customer groups.
Returns
The updated customer groups.
updateCustomerGroups(selector, data, sharedContext?): Promise<CustomerGroupDTO[]>
This method updates existing customer groups.
Example
Parameters
The filters that specify which customer groups should be updates.
The attributes to update in the customer groups.
Returns
The updated customer groups.
Was this section helpful?