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