Shopware icon

Shopware

Shopware

Actions778

Sales Channel Type → Update Sales Channel Type

AI-generated

Overview

This node updates an existing Sales Channel Type in the Shopware system. It allows users to modify various attributes of a Sales Channel Type such as its name, description, manufacturer, icons, URLs, custom fields, and associated sales channels. This node is useful for managing and maintaining sales channel types dynamically within an e-commerce platform, ensuring that the sales channel types reflect the latest business requirements and branding.

Use Case Examples

  1. Updating the name and description of a sales channel type to reflect a rebranding.
  2. Adding or modifying the cover URL and icon name for better visual representation in the admin panel.
  3. Updating custom fields or extended JSON data related to the sales channel type.
  4. Modifying the list of associated sales channels or their configurations.

Properties

Name Meaning
Id Identifier for the sales_channel_type to be updated. This is a required field.
Response Data format for the response. This is optional and can be left empty.
Cover Url URL for the cover image of the sales channel type.
Icon Name Name of the icon representing the sales channel type.
Screenshot Urls JSON array of URLs for screenshots related to the sales channel type.
Name Name of the sales channel type. This is a required field.
Manufacturer Manufacturer associated with the sales channel type.
Description Short description of the sales channel type.
Description Long Longer, detailed description of the sales channel type.
Custom Fields Custom fields in JSON format for additional data related to the sales channel type.
Created At Creation timestamp of the sales channel type.
Updated At Last update timestamp of the sales channel type.
Translated Translated fields in JSON format for localization.
Sales Channels JSON array representing the sales channels associated with this sales channel type.

Output

JSON

  • id - The unique identifier of the updated sales channel type.
  • name - The updated name of the sales channel type.
  • description - The updated description of the sales channel type.
  • coverUrl - The updated cover image URL.
  • iconName - The updated icon name.
  • screenshotUrls - The updated list of screenshot URLs.
  • customFields - The updated custom fields in JSON format.
  • createdAt - Timestamp when the sales channel type was created.
  • updatedAt - Timestamp when the sales channel type was last updated.
  • translated - Translated fields for localization.
  • salesChannels - The updated list of associated sales channels.

Dependencies

  • Requires an API key credential for Shopware Admin API access.

Troubleshooting

  • Ensure the 'Id' field is correctly provided and corresponds to an existing sales channel type; otherwise, the update will fail.
  • Check JSON formatting for fields like 'screenshotUrls', 'customFields', 'translated', and 'salesChannels' to avoid parsing errors.
  • Verify API credentials and endpoint URL to ensure successful authentication and connectivity.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings.
  • Timeouts can be adjusted in the request options if the server response is slow.

Discussion