Shopware icon

Shopware

Shopware

Actions778

Product Search Config → Create Product Search Config

AI-generated

Overview

This node operation creates a new Product Search Config in the Shopware system. It allows users to define search configuration settings for products, including language, search logic, minimum search length, excluded terms, and other related fields. This is useful for customizing how product searches behave in an e-commerce platform, improving search relevance and user experience.

Use Case Examples

  1. Creating a product search configuration for a specific language to optimize search results.
  2. Setting excluded terms to filter out unwanted keywords from product searches.
  3. Defining minimum search length and logical operators to refine search behavior.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the product search config.
Language Id Identifier for the language associated with the search config.
And Logic Boolean flag to determine if AND logic is used in search queries.
Min Search Length Minimum length of the search string to trigger the search.
Excluded Terms List of terms to exclude from the search.
Created At Timestamp when the search config was created.
Updated At Timestamp when the search config was last updated.
Language JSON object representing detailed language information related to the search config.
Config Fields JSON array defining specific configuration fields for the product search.
Request Options Node settings for request options such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - The unique identifier of the created product search config.
  • languageId - The language identifier associated with the product search config.
  • andLogic - Indicates if AND logic is applied in the search configuration.
  • minSearchLength - Minimum search string length to trigger the search.
  • excludedTerms - Terms excluded from the search.
  • createdAt - Timestamp of when the config was created.
  • updatedAt - Timestamp of the last update to the config.
  • language - Detailed language information as a JSON object.
  • configFields - Array of configuration fields defining the search behavior.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields like 'id' and 'languageId' are provided to avoid validation errors.
  • If the API returns authentication errors, verify 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.
  • Malformed JSON in 'excludedTerms', 'language', or 'configFields' can cause request failures; ensure valid JSON format.

Discussion