Shopware icon

Shopware

Shopware

Actions778

Product Search Config → Update Product Search Config

AI-generated

Overview

This node operation updates a Product Search Config in the Shopware system. It allows users to modify various settings related to product search behavior, such as language, search logic, minimum search length, excluded terms, and configuration fields. This operation is useful for managing how product searches are configured and optimized in an e-commerce platform using Shopware.

Use Case Examples

  1. Updating the minimum search length to improve search result relevance.
  2. Changing the language settings for product search to support multiple locales.
  3. Modifying excluded terms to filter out unwanted search keywords.

Properties

Name Meaning
Id Identifier for the product_search_config to update, required for the operation.
_response Data format for the response, used as a query parameter.
languageId Language identifier for the product search configuration.
andLogic Boolean flag to determine if AND logic is used in search queries.
minSearchLength Minimum length of the search string to trigger search.
excludedTerms List of terms to exclude from the search.
createdAt Timestamp of when the product search config was created.
updatedAt Timestamp of when the product search config was last updated.
language JSON object representing language details for the product search config.
configFields JSON array of configuration fields related to the product search config.

Output

JSON

  • id - Identifier of the updated product search config.
  • languageId - Language identifier associated with the product search config.
  • andLogic - Boolean indicating if AND logic is applied in search.
  • minSearchLength - Minimum search length setting.
  • excludedTerms - Array of terms excluded from the search.
  • createdAt - Creation timestamp of the product search config.
  • updatedAt - Last update timestamp of the product search config.
  • language - Language details as a JSON object.
  • configFields - Configuration fields as a JSON array.

Dependencies

  • Shopware API with appropriate credentials

Troubleshooting

  • Ensure the 'Id' property is provided and valid; missing or incorrect Id will cause update failure.
  • Verify that the languageId corresponds to an existing language in the Shopware system.
  • Check JSON formatting for 'excludedTerms', 'language', and 'configFields' properties to avoid parsing errors.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate validity.
  • Timeouts can occur if the server is slow; adjust the 'Timeout' setting accordingly.

Discussion