deleteOrders - Order Module Reference
This documentation provides a reference to the deleteOrders
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.
deleteOrders(orderIds, sharedContext?): Promise<void>#
This method deletes orders by its ID.
Example#
await orderModuleService.deleteOrders(["123", "321"])
Parameters#
The IDs of orders to delete.
A context used to share resources, such as transaction manager, between the application and the module.
Returns#
Resolves when the orders are deleted successfully.
deleteOrders(orderId, sharedContext?): Promise<void>#
This method deletes an order by its ID.
Example#
await orderModuleService.deleteOrders("123");
Parameters#
The order's ID.
A context used to share resources, such as transaction manager, between the application and the module.
Returns#
Resolves when the order is deleted successfully.
Was this page helpful?