- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createReturns - Order Module Reference
This documentation provides a reference to the createReturns
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.
createReturns(data, sharedContext?): Promise<ReturnDTO>#
This method creates a return.
Example#
Parameters#
The return to be created.
Returns#
Promise
Promise<ReturnDTO>The created return.
Promise
Promise<ReturnDTO>createReturns(data, sharedContext?): Promise<ReturnDTO[]>#
This method creates returns.
Example#
Parameters#
data
CreateOrderReturnDTO[]The returns to be created.
data
CreateOrderReturnDTO[]Returns#
Promise
Promise<ReturnDTO[]>The created returns.
Promise
Promise<ReturnDTO[]>Was this page helpful?