- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
retrieveProductOption - Product Module Reference
This documentation provides a reference to the retrieveProductOption
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 option by its ID.
Example#
A simple example that retrieves a product option by its ID:
To specify relations that should be retrieved:
Parameters#
optionId
stringThe ID of the product option to retrieve.
The configurations determining how the product option is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a product option.
select
or relations
, accept the
attributes or relations associated with a product option.Returns#
Promise
Promise<ProductOptionDTO>The retrieved product option.
Promise
Promise<ProductOptionDTO>Was this page helpful?