Shopware icon

Shopware

Shopware

Actions778

Tag → Update Tag

AI-generated

Overview

This node operation updates an existing Tag resource in the Shopware system. It allows users to modify various properties of a tag, including its identifier, name, timestamps, and associated entities such as products, media, categories, customers, orders, shipping methods, newsletter recipients, landing pages, and rules. This operation is useful for managing and maintaining tag data within an e-commerce platform, ensuring tags are up-to-date and correctly linked to related resources.

Use Case Examples

  1. Updating a tag's name and associated products to reflect a new marketing campaign.
  2. Modifying the media and categories linked to a tag to improve product organization and presentation.
  3. Adjusting the customers and orders associated with a tag for targeted promotions or reporting.

Properties

Name Meaning
Id Identifier for the tag, required to specify which tag to update.
Response Data format for response; optional query parameter to specify response format.
Name Name of the tag, required for updating the tag's name.
Created At Timestamp indicating when the tag was created; optional for update.
Updated At Timestamp indicating when the tag was last updated; optional for update.
Products JSON array representing products associated with the tag; optional for update.
Media JSON array representing media items associated with the tag; optional for update.
Categories JSON array representing categories associated with the tag; optional for update.
Customers JSON array representing customers associated with the tag; optional for update.
Orders JSON array representing orders associated with the tag; optional for update.
Shipping Methods JSON array representing shipping methods associated with the tag; optional for update.
Newsletter Recipients JSON array representing newsletter recipients associated with the tag; optional for update.
Landing Pages JSON array representing landing pages associated with the tag; optional for update.
Rules JSON array representing rules associated with the tag; optional for update.

Output

JSON

  • id - Identifier of the updated tag
  • name - Name of the updated tag
  • createdAt - Creation timestamp of the tag
  • updatedAt - Last update timestamp of the tag
  • products - List of products associated with the tag
  • media - List of media items associated with the tag
  • categories - List of categories associated with the tag
  • customers - List of customers associated with the tag
  • orders - List of orders associated with the tag
  • shippingMethods - List of shipping methods associated with the tag
  • newsletterRecipients - List of newsletter recipients associated with the tag
  • landingPages - List of landing pages associated with the tag
  • rules - List of rules associated with the tag

Dependencies

  • An API key credential for Shopware Admin API authentication

Troubleshooting

  • Ensure the 'Id' property is provided and correctly identifies an existing tag; missing or incorrect Id will cause update failure.
  • Validate JSON format for properties like 'Products', 'Media', 'Categories', etc., to avoid parsing errors.
  • Check API credentials and base URL configuration to ensure successful connection to Shopware API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings.

Discussion