- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createReturnReasons - Order Module Reference
This documentation provides a reference to the createReturnReasons
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.
createReturnReasons(returnReasonData, sharedContext?): Promise<OrderReturnReasonDTO>#
This method creates a return reason.
Example#
Parameters#
returnReasonData
CreateOrderReturnReasonDTOThe return reason to be created.
returnReasonData
CreateOrderReturnReasonDTOReturns#
Promise
Promise<OrderReturnReasonDTO>The created return reason.
Promise
Promise<OrderReturnReasonDTO>createReturnReasons(returnReasonData, sharedContext?): Promise<OrderReturnReasonDTO[]>#
This method creates return reasons.
Example#
Parameters#
returnReasonData
CreateOrderReturnReasonDTO[]The return reasons to be created.
returnReasonData
CreateOrderReturnReasonDTO[]Returns#
Promise
Promise<OrderReturnReasonDTO[]>The created return reason.
Promise
Promise<OrderReturnReasonDTO[]>Was this page helpful?