Skip to main content
Skip to main content

delete - Order Module Reference

This documentation provides a reference to the delete method. This belongs to the Order Module.

delete(orderIds, sharedContext?): Promise<void>

This method deletes {return type} by its ID.

Example

await orderModuleService.delete(["12345abc", "67890def"]);

Parameters

orderIdsstring[]Required
The list of {summary}
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when {summary}

delete(orderId, sharedContext?): Promise<void>

This method deletes {return type} by its ID.

Example

await orderModuleService.delete("orderId");

Parameters

orderIdstringRequired
The order's ID.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when {summary}
Was this section helpful?