updateTaxRegion( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a tax region.

Each time the tax region is updated, revision increments by 1. The current revision must be passed when updating the tax region. This ensures you're working with the latest tax region and prevents unintended overwrites.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

Tax region ID.


taxRegionUpdateTaxRegionRequired

Tax region info.


optionsUpdateTaxRegionOptions
Returns
Return Type:Promise<TaxRegion>
Errors
400Invalid Argument

There are 2 errors with this status code.

404Not Found

There is 1 error with this status code.

428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?