list - Product Module Reference
This documentation provides a reference to the list
method. This belongs to the Product Module.
This method is used to retrieve a paginated list of price sets based on optional filters and configuration.
Example
To retrieve a list of products using their IDs:
To specify relations that should be retrieved within the products:
By default, only the first 15
records are retrieved. You can control pagination by specifying the skip
and take
properties of the config
parameter:
Parameters
filters
FilterableProductPropsThe filters to apply on the retrieved products.
filters
FilterableProductPropsconfig
FindConfig<ProductDTO>The configurations determining how the products are retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a product.
config
FindConfig<ProductDTO>select
or relations
, accept the
attributes or relations associated with a product.Returns
The list of products.
Was this section helpful?