Shopware icon

Shopware

Shopware

Actions778

Promotion Discount Prices → Update Promotion Discount Prices

AI-generated

Overview

This node updates promotion discount prices in the Shopware system. It is useful for scenarios where you need to modify existing promotion discount price entries, such as changing the price, currency, or associated discount details. For example, it can be used to update the price of a discount for a specific currency or to adjust the discount details for a promotion in an e-commerce platform.

Use Case Examples

  1. Updating the price of a promotion discount for a specific currency.
  2. Modifying the discount details associated with a promotion discount price entry.

Properties

Name Meaning
Id Identifier for the promotion_discount_prices, used to specify which promotion discount price to update.
Response Data format for response, used to specify the format of the response data.
Discount Id Identifier for the discount associated with the promotion discount price.
Currency Id Identifier for the currency associated with the promotion discount price.
Price The price value for the promotion discount price.
Created At Timestamp indicating when the promotion discount price was created.
Updated At Timestamp indicating when the promotion discount price was last updated.
Promotion Discount JSON object containing detailed information about the promotion discount, including nested promotion, discount rules, and related entities.
Currency JSON object containing detailed information about the currency, including rounding rules, sales channel assignments, and related entities.

Output

JSON

  • id - Identifier of the updated promotion discount price.
  • discountId - Identifier of the associated discount.
  • currencyId - Identifier of the associated currency.
  • price - Updated price value.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.
  • promotionDiscount - Detailed JSON object of the promotion discount.
  • currency - Detailed JSON object of the currency.

Dependencies

  • Shopware API with appropriate credentials

Troubleshooting

  • Ensure all required fields (id, discountId, currencyId, price) are provided to avoid validation errors.
  • Check API credentials and endpoint URL for connectivity issues.
  • Verify JSON format for complex fields like promotionDiscount and currency to prevent parsing errors.

Discussion