retrieveCollection - Product Module Reference
BetaThis documentation provides a reference to the retrieveCollection method. This belongs to the Product Module.
This method is used to retrieve a product collection by its ID.
Example
A simple example that retrieves a product collection by its ID:
To specify relations that should be retrieved:
Parameters
productCollectionIdstringRequiredThe ID of the product collection to retrieve.
configFindConfig<ProductCollectionDTO>The configurations determining how the product collection is retrieved. Its properties, such as select or relations, accept the
attributes or relations associated with a product collection.
configFindConfig<ProductCollectionDTO>select or relations, accept the
attributes or relations associated with a product collection.Returns
The retrieved product collection.
Was this section helpful?