deleteCustomerGroups - Customer Module Reference
This documentation provides a reference to the deleteCustomerGroups
method. This belongs to the Customer Module.
deleteCustomerGroups(groupId, sharedContext?): Promise<void>
This method deletes a customer group by its ID.
Example
Parameters
groupId
stringRequiredThe customer group's ID.
Returns
Promise
Promise<void>RequiredResolves when the customer group is deleted successfully.
deleteCustomerGroups(groupIds, sharedContext?): Promise<void>
This method deletes customer groups by their IDs.
Example
Parameters
groupIds
string[]RequiredThe IDs of customer groups.
Returns
Promise
Promise<void>RequiredResolves when the customer groups are deleted successfully.
deleteCustomerGroups(selector, sharedContext?): Promise<void>
This method deletes customer groups matching the specified filters.
Example
Parameters
The filters that specify which customer group to delete.
Returns
Promise
Promise<void>RequiredResolves when the customer groups are deleted successfully.
Was this section helpful?