Skip to main content
Skip to main content

deleteLineItemTaxLines - Cart Module Reference

This documentation provides a reference to the deleteLineItemTaxLines method. This belongs to the Cart Module.

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

This method deletes line item tax lines by their IDs.

Example

await cartModuleService.deleteLineItemTaxLines([
"calitxl_123",
"calitxl_321",
])

Parameters

idsstring[]Required
The IDs of the line item tax lines.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the line item tax lines are deleted successfully.

deleteLineItemTaxLines(id, sharedContext?): Promise<void>

This method deletes a line item tax line by its ID.

Example

await cartModuleService.deleteLineItemTaxLines("calitxl_123")

Parameters

idstringRequired
The ID of the line item tax line.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the line item tax line is deleted successfully.
Was this section helpful?