- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
upsertTaxRates - Tax Module Reference
This documentation provides a reference to the upsertTaxRates
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.
upsertTaxRates(data, sharedContext?): Promise<TaxRateDTO>#
This method updates or creates a tax rate if it doesn't exist.
Example#
Parameters#
data
UpsertTaxRateDTOThe attributes in the tax rate to be created or updated.
data
UpsertTaxRateDTOReturns#
Promise
Promise<TaxRateDTO>The created or updated tax rate.
Promise
Promise<TaxRateDTO>upsertTaxRates(data, sharedContext?): Promise<TaxRateDTO[]>#
This method updates or creates tax rates if they don't exist.
Example#
Parameters#
data
UpsertTaxRateDTO[]The attributes in the tax rates to be created or updated.
data
UpsertTaxRateDTO[]Returns#
Promise
Promise<TaxRateDTO[]>The created or updated tax rates.
Promise
Promise<TaxRateDTO[]>Was this page helpful?