Shopware icon

Shopware

Shopware

Actions778

Rule → Delete Rule

AI-generated

Overview

This node operation deletes a specific rule identified by its unique Id in the Shopware system. It is useful for scenarios where you need to programmatically remove rules, such as cleaning up outdated or irrelevant rules in an automated workflow.

Use Case Examples

  1. Deleting a promotional rule that is no longer valid.
  2. Removing a rule that was created by mistake or is no longer needed.

Properties

Name Meaning
Id Identifier for the rule to be deleted, required to specify which rule to remove.
Response Data format for the response, can be left empty if no specific format is required.
Request Options Additional settings for the HTTP request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • id - The identifier of the deleted rule.
  • status - Status of the delete operation, indicating success or failure.

Dependencies

  • Requires an API key credential for Shopware Admin API authentication.

Troubleshooting

  • Ensure the 'Id' property is correctly set to a valid rule identifier; otherwise, the delete operation will fail.
  • If SSL certificate validation fails and the request is blocked, enable 'Ignore SSL Issues' to bypass this check, but be aware of security risks.
  • Check proxy settings if the request fails due to network issues.
  • Timeout errors can occur if the server is slow to respond; increase the timeout setting if needed.

Discussion