Shopware icon

Shopware

Shopware

Actions778

Sales Channel Domain → Create Sales Channel Domain

AI-generated

Overview

This node operation creates a new Sales Channel Domain in the Shopware system. It is useful for users who want to programmatically add domain configurations to sales channels, specifying details such as URL, language, currency, and other related settings. For example, an e-commerce manager can automate the creation of multiple sales channel domains for different regions or languages using this node.

Use Case Examples

  1. Creating a new sales channel domain with specific URL, language, and currency settings.
  2. Automating the setup of sales channel domains for multiple storefronts in different languages.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id The unique identifier for the sales channel domain to be created.
Url The URL of the sales channel domain.
Sales Channel Id The identifier of the sales channel to which this domain belongs.
Language Id The identifier of the language used for this sales channel domain.
Currency Id The identifier of the currency used for this sales channel domain.
Snippet Set Id The identifier of the snippet set associated with this sales channel domain.
Hreflang Use Only Locale Boolean flag indicating whether to use only locale for hreflang.
Custom Fields Custom fields in JSON format for additional domain configuration.
Created At Timestamp for when the sales channel domain was created.
Updated At Timestamp for when the sales channel domain was last updated.
Sales Channel JSON object representing the sales channel details associated with the domain.
Language JSON object representing the language details associated with the domain.
Currency JSON object representing the currency details associated with the domain.
Snippet Set JSON object representing the snippet set details associated with the domain.
Sales Channel Default Hreflang JSON object representing the default hreflang settings for the sales channel.
Product Exports JSON array representing product export configurations for the sales channel domain.

Output

JSON

  • id - The unique identifier of the created sales channel domain.
  • url - The URL of the created sales channel domain.
  • salesChannelId - The identifier of the sales channel associated with the domain.
  • languageId - The identifier of the language associated with the domain.
  • currencyId - The identifier of the currency associated with the domain.
  • snippetSetId - The identifier of the snippet set associated with the domain.
  • hreflangUseOnlyLocale - Flag indicating if only locale is used for hreflang.
  • customFields - Custom fields data associated with the domain.
  • createdAt - Creation timestamp of the domain.
  • updatedAt - Last update timestamp of the domain.
  • salesChannel - Details of the sales channel associated with the domain.
  • language - Details of the language associated with the domain.
  • currency - Details of the currency associated with the domain.
  • snippetSet - Details of the snippet set associated with the domain.
  • salesChannelDefaultHreflang - Default hreflang settings for the sales channel.
  • productExports - Product export configurations for the sales channel domain.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Url, Sales Channel Id, Language Id, Currency Id, Snippet Set Id) are provided to avoid validation errors.
  • If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured and have necessary permissions.
  • For JSON fields (Sales Channel, Language, Currency, Snippet Set, Sales Channel Default Hreflang, Product Exports), ensure the JSON is well-formed to prevent parsing errors.

Discussion