update - Tax Module Reference
This documentation provides a reference to the update
method. This belongs to the Tax Module.
update(taxRateId, data, sharedContext?): Promise<TaxRateDTO>
This method updates an existing tax rate.
Example
Parameters
taxRateId
stringRequiredThe tax rate's ID.
The attributes to update in the tax rate.
Returns
The updated tax rate.
update(taxRateIds, data, sharedContext?): Promise<TaxRateDTO[]>
This method updates existing tax rates.
Example
Parameters
taxRateIds
string[]RequiredThe IDs of tax rates to update.
The attributes to update in the tax rate.
Returns
The updated tax rates.
update(selector, data, sharedContext?): Promise<TaxRateDTO[]>
This method updates existing tax rates matching the specified filters.
Example
Parameters
The filters specifying which tax rates to update.
The attributes to update in the tax rate.
Returns
The updated tax rates.
Was this section helpful?