Skip to main content
Skip to main content

deleteAddresses - Order Module Reference

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

deleteAddresses(ids, sharedContext?): Promise<void>

This method deletes {return type} by its ID.

Example

await orderModuleService.deleteAddresses(["your_address_id_1", "your_address_id_2"]);

Parameters

idsstring[]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}

deleteAddresses(ids, sharedContext?): Promise<void>

This method deletes {return type} by its ID.

Example

await orderModuleService.deleteAddresses("123456");

Parameters

idsstringRequired
{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}
Was this section helpful?