Skip to main content
Skip to main content

retrieveType - Product Module Reference

This documentation provides a reference to the retrieveType method. This belongs to the Product Module.

This method is used to retrieve a product type by its ID.

Example

const productType =
await productModuleService.retrieveType("ptyp_123")

Parameters

typeIdstringRequired
The ID of the product type to retrieve.
The configurations determining how the product type is retrieved. Its properties, such as select or relations, accept the attributes or relations associated with a product type.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<ProductTypeDTO>Required
The retrieved product type.
Was this section helpful?