addCustomerToGroup - Customer Module Reference
This documentation provides a reference to the addCustomerToGroup
method. This belongs to the Customer Module.
addCustomerToGroup(groupCustomerPair, sharedContext?): Promise<{ id: string }>
This method adds a customer to a group.
Example
Parameters
The details of the customer and the group it should be added to.
Returns
Promise
Promise<object>RequiredThe ID of the relation between the customer and the group.
Promise
Promise<object>RequiredaddCustomerToGroup(groupCustomerPairs, sharedContext?): Promise<{ id: string }[]>
This method adds customers to groups.
Example
Parameters
A list of items, each being the details of a customer and the group it should be added to.
Returns
Promise
Promise<object[]>RequiredThe IDs of the relations between each of the customer and group pairs.
Promise
Promise<object[]>RequiredWas this section helpful?