Shopware icon

Shopware

Shopware

Actions778

Product Sorting → Create Product Sorting

AI-generated

Overview

This node operation creates a new product sorting configuration in the Shopware system. It is useful for managing how products are sorted and displayed in an e-commerce platform, allowing customization of sorting priorities, labels, and fields. For example, an e-commerce manager can use this node to define a custom sorting method that prioritizes products by popularity or price.

Use Case Examples

  1. Creating a new product sorting rule with a specific priority and label to influence product display order on the storefront.
  2. Setting fields and activation status for a product sorting configuration to tailor product listings.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the product sorting configuration.
Locked Indicates whether the product sorting configuration is locked.
Key Key identifier for the product sorting configuration.
Priority Priority level of the product sorting configuration.
Active Indicates whether the product sorting configuration is active.
Fields JSON object defining the fields used in the product sorting.
Label Label for the product sorting configuration.
Created At Timestamp for when the product sorting configuration was created.
Updated At Timestamp for when the product sorting configuration was last updated.
Translated JSON object containing translated labels or fields for the product sorting configuration.
Request Options Settings for request behavior such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - The unique identifier of the created product sorting.
  • key - The key of the created product sorting.
  • priority - The priority assigned to the product sorting.
  • active - The active status of the product sorting.
  • fields - The fields used in the product sorting configuration.
  • label - The label of the product sorting.
  • locked - Indicates if the product sorting is locked.
  • createdAt - Creation timestamp of the product sorting.
  • updatedAt - Last update timestamp of the product sorting.
  • translated - Translated fields or labels of the product sorting.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (id, key, priority, active, fields, label) are provided to avoid validation errors.
  • Check API credentials and base URL configuration if authentication errors occur.
  • If the response format is not as expected, verify the '_response' property value (basic or detail).
  • Timeouts can occur if the server is slow; adjust the timeout setting in Request Options accordingly.
  • If SSL certificate issues arise, consider enabling 'Ignore SSL Issues' in Request Options for testing purposes.

Discussion