- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
retrieveProduct - Product Module Reference
This documentation provides a reference to the retrieveProduct
method. This belongs to the Product Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method is used to retrieve a product by its ID
Example#
A simple example that retrieves a product by its ID:
To specify relations that should be retrieved:
Parameters#
productId
stringThe ID of the product to retrieve.
The configurations determining how the product is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a product.
select
or relations
, accept the
attributes or relations associated with a product.Returns#
Promise
Promise<ProductDTO>The retrieved product.
Promise
Promise<ProductDTO>Was this page helpful?