Shopware icon

Shopware

Shopware

Actions778

Product Price → Update Product Price

AI-generated

Overview

This node operation updates a product price in the Shopware system. It is useful for scenarios where you need to modify pricing details of a product, such as changing the price, quantity ranges, or associated rules. For example, an e-commerce manager can use this node to update the price of a product variant based on new pricing strategies or promotions.

Use Case Examples

  1. Updating the price of a product variant to reflect a discount.
  2. Changing the quantity range for which a specific price applies.
  3. Modifying the pricing rule associated with a product price entry.

Properties

Name Meaning
Id Identifier for the product_price, used to specify which product price to update.
Response Data format for the response; can be empty if no specific format is required.
Version Id Version identifier for the product price entry, used for version control.
Product Id Identifier of the product to which the price belongs.
Product Version Id Version identifier for the product, used for version control.
Rule Id Identifier of the pricing rule applied to the product price.
Price JSON object representing the price details, including list price and regulation price.
Quantity Start Starting quantity for which this price applies.
Quantity End Ending quantity for which this price applies.
Custom Fields Custom fields in JSON format for additional data related to the product price.
Created At Timestamp for when the product price was created.
Updated At Timestamp for when the product price was last updated.
Product JSON object representing detailed product information, including nested product data and related entities.
Rule JSON object representing detailed rule information associated with the product price.
Request Options Settings for request behavior such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - Identifier of the updated product price.
  • versionId - Version identifier of the updated product price.
  • productId - Identifier of the product associated with the updated price.
  • productVersionId - Version identifier of the product.
  • ruleId - Identifier of the pricing rule applied.
  • price - Price details including list price and regulation price.
  • quantityStart - Starting quantity for the price applicability.
  • quantityEnd - Ending quantity for the price applicability.
  • customFields - Custom fields associated with the product price.
  • createdAt - Creation timestamp of the product price.
  • updatedAt - Last update timestamp of the product price.
  • product - Detailed product information in JSON format.
  • rule - Detailed rule information in JSON format.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Product Id, Rule Id, Price, Quantity Start) are provided to avoid validation errors.
  • If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured.
  • Timeout errors can occur if the server is slow; adjust the timeout setting in Request Options accordingly.
  • If SSL certificate validation fails, enable 'Ignore SSL Issues' in Request Options to bypass this, but be aware of security risks.

Links

Discussion