Skip to main content
Skip to main content

retrieveCustomerGroup - Customer Module Reference

This documentation provides a reference to the retrieveCustomerGroup method. This belongs to the Customer Module.

This method retrieves a customer group by its ID.

Example

const customerGroup =
await customerModuleService.retrieve("cusgroup_123")

Parameters

groupIdstringRequired
The customer group's ID.
The configurations determining how the customer group is retrieved. Its properties, such as select or relations, accept the attributes or relations associated with a customer group.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<CustomerGroupDTO>Required
The retrieved customer group.
Was this section helpful?