Shopware icon

Shopware

Shopware

Actions778

Cms Page → Create Cms Page

AI-generated

Overview

This node operation allows users to create a CMS Page in the Shopware platform. It is useful for automating the creation of content pages within an e-commerce site, such as landing pages, product information pages, or custom content sections. Users can specify various attributes of the CMS Page including its ID, version, name, type, associated entities, CSS classes, configuration, media previews, categories, landing pages, sales channels, products, and custom fields.

Use Case Examples

  1. Creating a new CMS Page with a specific name and type to display custom content on an online store.
  2. Automating the creation of multiple CMS Pages with different configurations and media previews for a marketing campaign.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the CMS Page, required for creation.
Version Id Version identifier for the CMS Page.
Name Name of the CMS Page.
Type Type of the CMS Page, required for creation.
Entity Associated entity for the CMS Page.
Css Class CSS class to apply to the CMS Page.
Config Configuration settings for the CMS Page in JSON format.
Preview Media Id Identifier for the preview media associated with the CMS Page.
Custom Fields Custom fields for the CMS Page in JSON format.
Locked Boolean flag indicating if the CMS Page is locked.
Created At Creation timestamp of the CMS Page.
Updated At Last update timestamp of the CMS Page.
Translated Translated content for the CMS Page in JSON format.
Sections Sections of the CMS Page in JSON format, defining layout and content blocks.
Preview Media Preview media details for the CMS Page in JSON format.
Categories Categories associated with the CMS Page in JSON format.
Landing Pages Landing pages linked to the CMS Page in JSON format.
Home Sales Channels Home sales channels associated with the CMS Page in JSON format.
Products Products linked to the CMS Page in JSON format.

Output

JSON

  • id - Unique identifier of the created CMS Page.
  • versionId - Version identifier of the created CMS Page.
  • name - Name of the created CMS Page.
  • type - Type of the created CMS Page.
  • entity - Associated entity of the created CMS Page.
  • cssClass - CSS class applied to the created CMS Page.
  • config - Configuration settings of the created CMS Page.
  • previewMediaId - Identifier for the preview media of the created CMS Page.
  • customFields - Custom fields of the created CMS Page.
  • locked - Lock status of the created CMS Page.
  • createdAt - Creation timestamp of the created CMS Page.
  • updatedAt - Last update timestamp of the created CMS Page.
  • translated - Translated content of the created CMS Page.
  • sections - Sections defining layout and content blocks of the created CMS Page.
  • previewMedia - Preview media details of the created CMS Page.
  • categories - Categories associated with the created CMS Page.
  • landingPages - Landing pages linked to the created CMS Page.
  • homeSalesChannels - Home sales channels associated with the created CMS Page.
  • products - Products linked to the created CMS Page.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure required fields 'Id' and 'Type' are provided to avoid validation errors.
  • Verify JSON format for fields like 'Config', 'Custom Fields', 'Sections', 'Preview Media', 'Categories', 'Landing Pages', 'Home Sales Channels', and 'Products' to prevent parsing errors.
  • Check API credentials and base URL configuration to ensure successful connection to Shopware Admin API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate validity.

Discussion