Skip to main content
Skip to main content

deleteShippingMethodTaxLines - Cart Module Reference

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

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

This method deletes shipping method tax lines by their IDs.

Example

await cartModuleService.deleteShippingMethodTaxLines([
"casmtxl_123",
"casmtxl_321",
])

Parameters

idsstring[]Required
The IDs of the shipping method 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 shipping method tax lines are deleted successfully.

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

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

Example

await cartModuleService.deleteShippingMethodTaxLines(
"casmtxl_123"
)

Parameters

idstringRequired
The ID of the shipping method 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 shipping method tax line is deleted successfully.
Was this section helpful?