Shopware icon

Shopware

Shopware

Actions778

Product Visibility → Update Product Visibility

AI-generated

Overview

This node operation updates the visibility settings of a product within a specific sales channel in a Shopware system. It is useful for managing which products are visible to customers in different sales channels, allowing for targeted product availability. For example, an e-commerce manager can use this node to update the visibility of a product for a particular sales channel to control its display on the storefront.

Use Case Examples

  1. Updating the visibility of a product in a specific sales channel to make it available or unavailable to customers.
  2. Modifying product visibility settings to reflect changes in marketing strategy or inventory availability.

Properties

Name Meaning
Id Identifier for the product_visibility record to update.
Response Data format for the response; can be empty if no specific format is provided.
Product Id Identifier of the product whose visibility is being updated.
Product Version Id Version identifier of the product, if applicable.
Sales Channel Id Identifier of the sales channel where the product visibility is being updated.
Visibility Visibility level or status of the product in the sales channel.
Created At Timestamp when the product visibility record was created.
Updated At Timestamp when the product visibility record was last updated.
Sales Channel JSON object representing detailed information about the sales channel.
Product JSON object representing detailed information about the product.

Output

JSON

  • id - The identifier of the updated product visibility record.
  • productId - The identifier of the product whose visibility was updated.
  • productVersionId - The version identifier of the product.
  • salesChannelId - The identifier of the sales channel where the visibility was updated.
  • visibility - The updated visibility status or level of the product.
  • createdAt - Timestamp of when the product visibility record was created.
  • updatedAt - Timestamp of the last update to the product visibility record.
  • salesChannel - Detailed JSON data about the sales channel.
  • product - Detailed JSON data about the product.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Product Id, Sales Channel Id, Visibility) are provided and correctly formatted to avoid validation errors.
  • If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured and have the necessary permissions.
  • Large JSON objects for 'salesChannel' and 'product' fields must be valid JSON; invalid JSON will cause request failures.
  • Timeouts or network errors can occur if the Shopware server is unreachable or slow; check network connectivity and server status.

Discussion