Shopware icon

Shopware

Shopware

Actions778

Tax Rule → Update Tax Rule

AI-generated

Overview

This node updates an existing Tax Rule in the Shopware system. It is useful for scenarios where you need to modify tax rules such as tax rate, country, or related tax details for compliance or business changes. For example, updating the tax rate for a specific country or changing the active period of a tax rule.

Use Case Examples

  1. Updating the tax rate for a specific country in Shopware.
  2. Modifying the active period or type of a tax rule to reflect new tax regulations.

Properties

Name Meaning
Id Identifier for the tax_rule, used to specify which tax rule to update.
Response Data format for the response, used to specify the desired response format from the API.
Tax Rule Type Id Identifier for the type of tax rule, required for the update.
Country Id Identifier for the country associated with the tax rule, required for the update.
Tax Rate The tax rate value to be set for the tax rule, required for the update.
Data Additional data related to the tax rule, provided as JSON, such as states information.
Tax Id Identifier for the tax entity related to the tax rule, required for the update.
Active From The start date from which the tax rule is active.
Created At The creation timestamp of the tax rule.
Updated At The last update timestamp of the tax rule.
Type Detailed JSON structure describing the type and rules of the tax rule.
Country Detailed JSON structure describing the country and related tax information.
Tax Detailed JSON structure describing the tax and related product information.
Request Options Settings for request behavior such as batching, SSL issues, proxy, and timeout.

Output

JSON

  • id - Identifier of the updated tax rule.
  • taxRuleTypeId - Type identifier of the updated tax rule.
  • countryId - Country identifier associated with the updated tax rule.
  • taxRate - Tax rate value of the updated tax rule.
  • data - Additional data related to the tax rule, such as states.
  • taxId - Tax entity identifier related to the tax rule.
  • activeFrom - Start date from which the tax rule is active.
  • createdAt - Creation timestamp of the tax rule.
  • updatedAt - Last update timestamp of the tax rule.
  • type - Detailed type and rules information of the tax rule.
  • country - Detailed country and tax information related to the tax rule.
  • tax - Detailed tax and product information related to the tax rule.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Tax Rule Type Id, Country Id, Tax Rate, Tax Id) are provided to avoid validation errors.
  • Check the JSON format for 'data', 'type', 'country', and 'tax' fields to prevent parsing errors.
  • Verify API credentials and endpoint URL to avoid authentication or connection issues.
  • If SSL errors occur, consider enabling 'Ignore SSL Issues' option if appropriate.

Discussion