Rules: Magento Tax Rules
insert update delete REST
- Catalog:
Magento - Schema:
Tax - Primary Keys:
id - Label: Tax Rules
Search TaxRules This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#TaxRuleRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.
Can retrieve data and change data using insert, update and delete.
Summary
Search TaxRules This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://developer.adobe.com/commerce/webapi/rest/attributes#TaxRuleRepositoryInterface to determine which call to use to get detailed information about all attributes for an object.
API Source
- Endpoint:
/V1/taxRules/search - Operation:
get /V1/taxRules/search
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 49 |
| Full scan rows per minute | 114,833 |
| Point query rows per minute | 1,188 |
| Write rows per minute | 599 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
search |
`` | Current page. | ||
search |
`` | Condition type | ||
search |
`` | Field | ||
search |
`` | Value | ||
search |
`` | Page size. | ||
search |
`` | Sorting direction. | ||
search |
`` | Sorting field. |
Table Columns
The columns of the table Rules are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
calculate_ |
char |
Calculate Subtotal | filters on the platform, writable, calculate_ |
Calculate subtotal. | |
code |
varchar2 |
Code | filters on the platform, writable, code |
Tax rule code | |
customer_ |
varchar2 |
Customer Tax Class IDs | filters on the platform, writable, customer_ |
Customer tax class id The identifiers, separated by commas. | |
extension_ |
varchar2 |
Extension Attributes | writable | The JSON text of the nested object. | |
id |
int64 |
ID | filters on the platform, writable, id |
Id | |
position |
int64 |
Position | filters on the platform, writable, position |
Sort order. | |
priority |
int64 |
Priority | filters on the platform, writable, priority |
Priority | |
product_ |
varchar2 |
Product Tax Class IDs | filters on the platform, writable, product_ |
Product tax class id The identifiers, separated by commas. | |
tax_ |
varchar2 |
Tax Rate IDs | filters on the platform, writable, tax_ |
Tax rate ids The identifiers, separated by commas. |