younifyd
Menu

Get taxRules/{ruleId}

Get taxRules/{ruleId}

GET/V1/taxRules/{ruleId}

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get taxRules/{ruleId} action (under Tax).
  3. Fill in the fields below, then reference the result from later steps as {{getTaxrulesRuleid.response.data}}.

Request

Path parameters

ruleIdintegerrequired

Response

Returns 200 with an object. Read it in later steps with {{getTaxrulesRuleid.response.data.<field>}}.

idinteger

Id

codestring

Tax rule code

priorityinteger

Priority

positioninteger

Sort order.

customer_tax_class_idsarray<integer>

Customer tax class id

product_tax_class_idsarray<integer>

Product tax class id

tax_rate_idsarray<integer>

Tax rate ids

calculate_subtotalboolean

Calculate subtotal.

extension_attributesobject

ExtensionInterface class for @see \Magento\Tax\Api\Data\TaxRuleInterface

json
{
  "code": "string",
  "priority": 0,
  "position": 0,
  "customer_tax_class_ids": [
    0
  ],
  "product_tax_class_ids": [
    0
  ],
  "tax_rate_ids": [
    0
  ],
  "id": 0,
  "calculate_subtotal": false,
  "extension_attributes": {}
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.

Get taxRules/{ruleId} — Adobe Commerce — Documentation