Shopware icon

Shopware

Shopware

Actions778

Media Folder Configuration → Create Media Folder Configuration

AI-generated

Overview

This node operation creates a new Media Folder Configuration in the Shopware system. It allows users to specify various settings related to media folders, such as thumbnail creation, aspect ratio, thumbnail quality, privacy, and associations. This operation is useful for managing media storage configurations programmatically, for example, when setting up or updating media handling in an e-commerce platform using Shopware.

Use Case Examples

  1. Creating a media folder configuration with custom thumbnail settings for an online store.
  2. Automating the setup of media folder configurations during deployment or integration processes.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Identifier for the media folder configuration.
Create Thumbnails Whether to create thumbnails for media in the folder.
Keep Aspect Ratio Whether to maintain the aspect ratio when creating thumbnails.
Thumbnail Quality Quality setting for the thumbnails.
Private Whether the media folder is private.
No Association Whether the media folder has no association.
Custom Fields Custom fields in JSON format for additional configuration.
Created At Creation timestamp of the media folder configuration.
Updated At Last update timestamp of the media folder configuration.
Media Folders JSON structure defining the media folders and their relationships.
Media Thumbnail Sizes JSON structure defining the sizes of media thumbnails.
Request Options Additional request options such as batching, SSL settings, proxy, and timeout.

Output

JSON

  • id - Identifier of the created media folder configuration.
  • createThumbnails - Indicates if thumbnails are created.
  • keepAspectRatio - Indicates if aspect ratio is maintained.
  • thumbnailQuality - Quality setting of the thumbnails.
  • private - Indicates if the media folder is private.
  • noAssociation - Indicates if the media folder has no association.
  • customFields - Custom fields associated with the media folder configuration.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.
  • mediaFolders - Details of the media folders configured.
  • mediaThumbnailSizes - Details of the media thumbnail sizes configured.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' field is provided and unique to avoid conflicts.
  • Verify JSON format correctness for 'Custom Fields', 'Media Folders', and 'Media Thumbnail Sizes' to prevent parsing errors.
  • Check API credentials and base URL configuration to ensure connectivity to the Shopware Admin API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in Request Options.

Discussion