Shopware icon

Shopware

Shopware

Actions778

Promotion Discount → Delete Promotion Discount

AI-generated

Overview

This node deletes a promotion discount in the Shopware system by its identifier. It is useful for scenarios where you need to programmatically remove specific promotion discounts, such as cleaning up expired or invalid discounts or managing promotions dynamically based on business rules.

Use Case Examples

  1. Deleting a promotion discount by providing its unique ID to remove it from the Shopware store.
  2. Automating the removal of outdated promotion discounts as part of a scheduled workflow.

Properties

Name Meaning
Id Identifier for the promotion_discount to be deleted, required to specify which promotion discount to remove.
Response Data format for the response, allowing customization of the response data format if needed.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to control the HTTP request behavior.

Output

JSON

  • id - The identifier of the deleted promotion discount.
  • status - The status of the delete operation, indicating success or failure.
  • message - Additional message or information returned from the delete operation.

Dependencies

  • An API key credential for authenticating with the Shopware Admin API

Troubleshooting

  • Ensure the provided Id is correct and exists in the Shopware system to avoid 'not found' errors.
  • Check network connectivity and proxy settings if requests fail to reach the Shopware server.
  • If SSL certificate validation fails, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Timeout errors can occur if the server is slow to respond; increase the timeout setting if needed.

Discussion