Shopware icon

Shopware

Shopware

Actions778

Tax Provider → Create Tax Provider

AI-generated

Overview

This node operation creates a new Tax Provider in the Shopware system. It is useful for automating the addition of tax providers with specific configurations such as ID, identifier, name, priority, and other optional settings like active status, process URL, availability rules, and custom fields. This can be applied in scenarios where tax providers need to be programmatically managed or integrated into workflows for e-commerce tax handling.

Use Case Examples

  1. Automatically create a tax provider with specific priority and availability rules when setting up a new sales channel.
  2. Add a tax provider with custom fields and translated data for multi-language support in an automated product setup process.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the tax provider.
Identifier Identifier string for the tax provider.
Active Boolean flag indicating if the tax provider is active.
Name Name of the tax provider.
Priority Priority number for the tax provider.
Process Url URL for processing tax provider requests.
Availability Rule Id ID of the availability rule associated with the tax provider.
App Id ID of the app associated with the tax provider.
Custom Fields Custom JSON fields for additional tax provider data.
Created At Creation timestamp of the tax provider.
Updated At Last update timestamp of the tax provider.
Translated Translated JSON data for multi-language support.
Availability Rule JSON object defining the availability rules for the tax provider.
App JSON object defining the app details associated with the tax provider.
Request Options Node settings for request options such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - Unique identifier of the created tax provider.
  • identifier - Identifier string of the created tax provider.
  • active - Active status of the created tax provider.
  • name - Name of the created tax provider.
  • priority - Priority value of the created tax provider.
  • processUrl - Process URL of the created tax provider.
  • availabilityRuleId - Availability rule ID associated with the created tax provider.
  • appId - App ID associated with the created tax provider.
  • customFields - Custom fields data of the created tax provider.
  • createdAt - Creation timestamp of the created tax provider.
  • updatedAt - Last update timestamp of the created tax provider.
  • translated - Translated data of the created tax provider.
  • availabilityRule - Availability rule details of the created tax provider.
  • app - App details associated with the created tax provider.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Identifier, Name, Priority) 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 setting (basic or detail).
  • For JSON fields like 'customFields', 'translated', 'availabilityRule', and 'app', ensure valid JSON syntax to prevent parsing errors.

Discussion