Shopware icon

Shopware

Shopware

Actions778

Tax Rule Type → Update Tax Rule Type

AI-generated

Overview

This node updates an existing Tax Rule Type in the Shopware system. It is useful for scenarios where you need to modify tax rule types, such as changing their technical name, position, or associated rules. For example, updating tax rules to reflect new tax regulations or business requirements.

Use Case Examples

  1. Updating the technical name and position of a tax rule type.
  2. Modifying the rules associated with a tax rule type to change tax calculations.

Properties

Name Meaning
Id Identifier for the tax_rule_type, used to specify which tax rule type to update.
Technical Name The technical name of the tax rule type, used to identify it programmatically.
Position The position of the tax rule type, which may affect its order or priority.
Type Name The display name or type name of the tax rule type.
Created At The creation timestamp of the tax rule type.
Updated At The last updated timestamp of the tax rule type.
Translated A JSON object containing translated fields for the tax rule type.
Rules A JSON array defining the rules associated with the tax rule type, including complex nested structures for tax rules and conditions.
Response Data format for the response, used as a query parameter to specify the desired response format.
Request Options Settings for the request such as batching, SSL certificate validation, proxy, and timeout options.

Output

JSON

  • id - The identifier of the updated tax rule type.
  • technicalName - The updated technical name of the tax rule type.
  • position - The updated position of the tax rule type.
  • typeName - The updated display or type name of the tax rule type.
  • createdAt - The creation timestamp of the tax rule type.
  • updatedAt - The last updated timestamp of the tax rule type.
  • translated - Translated fields of the tax rule type in JSON format.
  • rules - The updated rules associated with the tax rule type in JSON format.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the tax rule type you want to update; otherwise, the update will fail.
  • Verify that required fields like 'Technical Name', 'Position', and 'Type Name' are provided to avoid validation errors.
  • If the API returns SSL certificate errors, consider enabling the 'Ignore SSL Issues' option or configuring a proper proxy.
  • Timeout errors can occur if the server is slow; adjust the 'Timeout' setting accordingly.

Links

Discussion