Shopware icon

Shopware

Shopware

Actions778

Document Base Config Sales Channel → Update Document Base Config Sales Channel

AI-generated

Overview

This node operation updates a Document Base Config Sales Channel in the Shopware system. It is useful for scenarios where you need to modify existing sales channel configurations related to document base settings, such as changing associated document types, sales channels, or timestamps. For example, it can be used to update the sales channel linked to a specific document base configuration or to adjust metadata like creation and update timestamps.

Use Case Examples

  1. Updating the sales channel ID for a specific document base config sales channel.
  2. Modifying the document type or document base config details associated with a sales channel.

Properties

Name Meaning
Id Identifier for the document_base_config_sales_channel, required to specify which record to update.
_response Data format for the response, used as a query parameter to specify the response format.
documentBaseConfigId The ID of the document base configuration to associate with the sales channel.
salesChannelId The ID of the sales channel to associate with the document base config.
documentTypeId The ID of the document type related to the document base config sales channel.
createdAt Timestamp indicating when the document base config sales channel was created.
updatedAt Timestamp indicating when the document base config sales channel was last updated.
documentType JSON object representing the document type details, including nested document and sales channel information.
documentBaseConfig JSON object representing the document base config details, including nested document type and sales channel information.
salesChannel JSON object representing the sales channel details, including nested configurations and related entities.

Output

JSON

  • id - The identifier of the updated document base config sales channel.
  • documentBaseConfigId - The associated document base config ID after update.
  • salesChannelId - The associated sales channel ID after update.
  • documentTypeId - The associated document type ID after update.
  • createdAt - Creation timestamp of the document base config sales channel.
  • updatedAt - Last update timestamp of the document base config sales channel.
  • documentType - Detailed JSON object of the document type related to the sales channel.
  • documentBaseConfig - Detailed JSON object of the document base config related to the sales channel.
  • salesChannel - Detailed JSON object of the sales channel information.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the existing document base config sales channel ID to avoid 'not found' errors.
  • Verify JSON format correctness for 'documentType', 'documentBaseConfig', and 'salesChannel' properties to prevent parsing errors.
  • Check API credentials and base URL configuration to avoid authentication or connection issues.
  • Timeouts can occur if the server is slow; adjust the 'Timeout' request option accordingly.

Discussion