- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateTaxRates - Tax Module Reference
This documentation provides a reference to the updateTaxRates
method. This belongs to the Tax Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
updateTaxRates(taxRateId, data, sharedContext?): Promise<TaxRateDTO>#
This method updates an existing tax rate.
Example#
Parameters#
taxRateId
stringThe tax rate's ID.
data
UpdateTaxRateDTOThe attributes to update in the tax rate.
data
UpdateTaxRateDTOReturns#
Promise
Promise<TaxRateDTO>The updated tax rate.
Promise
Promise<TaxRateDTO>updateTaxRates(taxRateIds, data, sharedContext?): Promise<TaxRateDTO[]>#
This method updates existing tax rates.
Example#
Parameters#
taxRateIds
string[]The IDs of tax rates to update.
data
UpdateTaxRateDTOThe attributes to update in the tax rate.
data
UpdateTaxRateDTOReturns#
Promise
Promise<TaxRateDTO[]>The updated tax rates.
Promise
Promise<TaxRateDTO[]>updateTaxRates(selector, data, sharedContext?): Promise<TaxRateDTO[]>#
This method updates existing tax rates matching the specified filters.
Example#
Parameters#
selector
FilterableTaxRatePropsThe filters specifying which tax rates to update.
selector
FilterableTaxRatePropsdata
UpdateTaxRateDTOThe attributes to update in the tax rate.
data
UpdateTaxRateDTOReturns#
Promise
Promise<TaxRateDTO[]>The updated tax rates.
Promise
Promise<TaxRateDTO[]>Was this page helpful?