invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

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
searchCriteria[currentPage] `` Current page.
searchCriteria[filterGroups][0][filters][0][conditionType] `` Condition type
searchCriteria[filterGroups][0][filters][0][field] `` Field
searchCriteria[filterGroups][0][filters][0][value] `` Value
searchCriteria[pageSize] `` Page size.
searchCriteria[sortOrders][0][direction] `` Sorting direction.
searchCriteria[sortOrders][0][field] `` 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_subtotal char Calculate Subtotal filters on the platform, writable, calculate_subtotal Calculate subtotal.
code varchar2 Code filters on the platform, writable, code Tax rule code
customer_tax_class_ids varchar2 Customer Tax Class IDs filters on the platform, writable, customer_tax_class_ids Customer tax class id The identifiers, separated by commas.
extension_attributes 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_tax_class_ids varchar2 Product Tax Class IDs filters on the platform, writable, product_tax_class_ids Product tax class id The identifiers, separated by commas.
tax_rate_ids varchar2 Tax Rate IDs filters on the platform, writable, tax_rate_ids Tax rate ids The identifiers, separated by commas.