retrieve - Customer Module Reference
This documentation provides a reference to the retrieve
method. This belongs to the Customer Module.
This method retrieves a customer by its ID.
Example
A simple example that retrieves a customer by its ID:
To specify relations that should be retrieved:
Parameters
customerId
stringRequiredThe customer's ID.
config
FindConfig<CustomerDTO>The configurations determining how the customer is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a customer.
config
FindConfig<CustomerDTO>select
or relations
, accept the
attributes or relations associated with a customer.Returns
The retrieved customer.
Was this section helpful?