Shopware icon

Shopware

Shopware

Actions778

Tax Rule Type → Create Tax Rule Type

AI-generated

Overview

This node operation creates a new Tax Rule Type in the Shopware system. It is useful for automating the addition of tax rule types with specific attributes such as ID, technical name, position, type name, and associated rules. This can be applied in scenarios where tax configurations need to be programmatically managed or integrated with other systems.

Use Case Examples

  1. Creating a new tax rule type with a unique ID and technical name to categorize tax rules for different regions or products.
  2. Automating the setup of tax rule types during the onboarding of new sales channels or countries in an e-commerce platform.

Properties

Name Meaning
Response Specifies the data format for the response, either basic or detailed.
Id The unique identifier for the tax rule type.
Technical Name The technical name used to identify the tax rule type.
Position The position or order of the tax rule type.
Type Name The display name of the tax rule type.
Created At The creation timestamp of the tax rule type.
Updated At The last update timestamp of the tax rule type.
Translated JSON object containing translated fields for the tax rule type.
Rules JSON array defining the rules associated with the tax rule type.
Request Options Settings for request behavior such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - The unique identifier of the created tax rule type.
  • technicalName - The technical name of the created tax rule type.
  • position - The position of the created tax rule type.
  • typeName - The display name of the created tax rule type.
  • createdAt - The creation timestamp of the tax rule type.
  • updatedAt - The last update timestamp of the tax rule type.
  • translated - Translated fields of the tax rule type.
  • rules - Rules associated with the tax rule type.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Technical Name, Position, Type Name) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication or connection errors occur.
  • If the response format is not as expected, verify the '_response' property value (basic or detail).
  • For large rule sets, consider using batching options to avoid request timeouts or rate limits.

Discussion