Shopware icon

Shopware

Shopware

Actions778

Promotion → Delete Promotion

AI-generated

Overview

This node operation deletes a promotion identified by a given ID in the Shopware system. It is useful for scenarios where you need to programmatically remove promotions from your Shopware store, such as cleaning up expired or invalid promotions.

Use Case Examples

  1. Deleting a promotion by specifying its unique identifier to ensure it is no longer active or visible in the store.
  2. Automating the removal of promotions as part of a scheduled cleanup process.

Properties

Name Meaning
Id Identifier for the promotion to be deleted, required to specify which promotion to remove.
Response Data format for the response, allowing customization of the response data format.
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.
  • status - The status of the delete operation, indicating success or failure.

Dependencies

  • An API key credential for Shopware Admin API authentication

Troubleshooting

  • Ensure the provided promotion ID is valid and exists in the Shopware system to avoid errors.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.
  • Verify that the API credentials have sufficient permissions to delete promotions.

Discussion