Shopware icon

Shopware

Shopware

Actions778

Sales Channel Type → Create Sales Channel Type

AI-generated

Overview

This node operation creates a new Sales Channel Type in the Shopware system. It allows users to specify detailed attributes of the sales channel type such as its ID, name, description, manufacturer, icons, URLs for cover and screenshots, custom fields, timestamps, translations, and associated sales channels. This operation is useful for managing and organizing different sales channels within an e-commerce platform, enabling tailored configurations and integrations for each channel.

Use Case Examples

  1. Creating a new sales channel type with a unique ID, name, and description to represent a specific sales platform.
  2. Adding custom fields and translations to a sales channel type to support multi-language and customized data.
  3. Associating multiple sales channels with the sales channel type to manage them collectively.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the sales channel type. Required.
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. Required.
Manufacturer Manufacturer information for the sales channel type.
Description Short description of the sales channel type.
Description Long Longer, detailed description of the sales channel type.
Custom Fields JSON object containing custom fields for additional data.
Created At Timestamp for when the sales channel type was created.
Updated At Timestamp for when the sales channel type was last updated.
Translated JSON object containing translated fields for localization.
Sales Channels JSON array of sales channels associated with this sales channel type.
Request Options Node settings for request behavior such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - Unique identifier of the created sales channel type.
  • name - Name of the created sales channel type.
  • description - Description of the created sales channel type.
  • createdAt - Creation timestamp of the sales channel type.
  • updatedAt - Last update timestamp of the sales channel type.
  • customFields - Custom fields associated with the sales channel type.
  • translated - Translated fields for localization.
  • salesChannels - Associated sales channels with the sales channel type.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure required fields 'Id' and 'Name' are provided to avoid validation errors.
  • Check JSON formatting for fields like 'Screenshot Urls', 'Custom Fields', 'Translated', and 'Sales Channels' to prevent parsing errors.
  • Verify API credentials and endpoint URL to avoid authentication or connection issues.
  • If SSL errors occur, consider enabling 'Ignore SSL Issues' option or configuring a proper proxy.

Discussion