Shopware icon

Shopware

Shopware

Actions778

Promotion Discount → Get Promotion Discount

AI-generated

Overview

This node retrieves details of a specific promotion discount from the Shopware system using its identifier. It is useful in scenarios where you need to fetch information about a particular promotion discount for reporting, validation, or further processing within an automation workflow.

Use Case Examples

  1. Fetch details of a promotion discount by its ID to verify discount parameters before applying it to an order.
  2. Retrieve promotion discount information to display in a custom dashboard or report.

Properties

Name Meaning
Id Identifier for the promotion_discount, used to specify which promotion discount to retrieve.
Request Options Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • id - The unique identifier of the retrieved promotion discount.
  • name - The name of the promotion discount.
  • description - Description or details about the promotion discount.
  • discountType - Type of discount applied (e.g., percentage, fixed amount).
  • value - The value or amount of the discount.
  • validFrom - Start date and time from which the promotion discount is valid.
  • validUntil - End date and time until which the promotion discount is valid.
  • active - Indicates whether the promotion discount is currently active.

Dependencies

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

Troubleshooting

  • Ensure the 'Id' property is correctly set to a valid promotion discount identifier; otherwise, the request will fail.
  • If SSL certificate validation fails and you trust the endpoint, enable 'Ignore SSL Issues' to bypass SSL errors.
  • Check proxy settings if requests are timing out or failing due to network restrictions.
  • Adjust the timeout setting if the server response is slow to avoid premature request abortion.

Discussion