Shopware icon

Shopware

Shopware

Actions778

Promotion → Get Promotion

AI-generated

Overview

This node is designed to retrieve details of a specific promotion by its identifier from the Shopware platform. It is useful in scenarios where you need to fetch promotion data for further processing, reporting, or integration with other systems. For example, you might use this node to get promotion details to display in a marketing dashboard or to validate promotion information before applying it in an e-commerce workflow.

Use Case Examples

  1. Fetch a promotion by its ID to display its details in a custom dashboard.
  2. Retrieve promotion data to synchronize with an external marketing tool.

Properties

Name Meaning
Id Identifier for the promotion to retrieve.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • id - The unique identifier of the retrieved promotion.
  • name - The name of the promotion.
  • description - Description or details about the promotion.
  • startDate - The start date of the promotion.
  • endDate - The end date of the promotion.
  • conditions - Conditions or rules associated with the promotion.
  • discounts - Discount details applied by the promotion.

Dependencies

  • Requires 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 'not found' errors.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL certificate validation fails, consider enabling the 'Ignore SSL Issues' option cautiously.
  • Verify that the API credentials have sufficient permissions to access promotion data.

Links

Discussion