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