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