Skip to main content
Skip to main content

deleteTaxRegions - Tax Module Reference

This documentation provides a reference to the deleteTaxRegions method. This belongs to the Tax Module.

deleteTaxRegions(taxRegionIds, sharedContext?): Promise<void>

This method deletes tax regions by their IDs.

Example

await taxModuleService.deleteTaxRegions([
"txreg_123",
"txreg_321",
])

Parameters

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

Returns

PromisePromise<void>Required
Resolves when the tax regions are deleted.

deleteTaxRegions(taxRegionId, sharedContext?): Promise<void>

This method deletes a tax region by its ID.

Example

await taxModuleService.deleteTaxRegions("txreg_123")

Parameters

taxRegionIdstringRequired
The tax region'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 the tax region is successfully deleted.
Was this section helpful?