younifyd
Menu

Update taxRates

Update taxRates

PUT/V1/taxRates

Use it in a workflow

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

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "/rest/default"

bodystring

The request body content (for POST, PUT, PATCH requests).

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

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

idinteger

Id

tax_country_idstring

Country id

tax_region_idinteger

Region id

region_namestring

Region name

tax_postcodestring

Postcode

zip_is_rangeinteger

Zip is range

zip_frominteger

Zip range from

zip_tointeger

Zip range to

ratenumber

Tax rate in percentage

codestring

Tax rate code

titlesarray<object>

Tax rate titles

store_idstringrequired

Store id

valuestringrequired

Title value

extension_attributesobject

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

extension_attributesobject

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

json
{
  "tax_country_id": "string",
  "rate": 0,
  "code": "string",
  "id": 0,
  "tax_region_id": 0,
  "region_name": "string",
  "tax_postcode": "string",
  "zip_is_range": 0,
  "zip_from": 0,
  "zip_to": 0,
  "titles": [
    {
      "store_id": "string",
      "value": "string",
      "extension_attributes": {}
    }
  ],
  "extension_attributes": {}
}

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