Shopware icon

Shopware

Shopware

Actions778

Sales Channel Analytics → Update Sales Channel Analytics

AI-generated

Overview

This node updates the Sales Channel Analytics resource in the Shopware system. It is useful for scenarios where you need to modify analytics settings for a specific sales channel, such as updating tracking IDs, activation status, IP anonymization, and other related properties. For example, it can be used to enable or disable tracking orders or to update the sales channel configuration details.

Use Case Examples

  1. Updating the tracking ID and activation status of a sales channel analytics record.
  2. Modifying the anonymize IP setting for privacy compliance.
  3. Changing the sales channel configuration JSON data for analytics purposes.

Properties

Name Meaning
Id Identifier for the sales_channel_analytics, used to specify which record to update.
Response Data format for response. Empty if none is provided.
Tracking Id Tracking identifier for the sales channel analytics.
Active Boolean flag to activate or deactivate the sales channel analytics.
Track Orders Boolean flag to enable or disable order tracking.
Anonymize Ip Boolean flag to enable or disable IP anonymization for privacy.
Created At Timestamp string indicating when the sales channel analytics record was created.
Updated At Timestamp string indicating when the sales channel analytics record was last updated.
Sales Channel JSON object representing the sales channel configuration and related nested data.

Output

JSON

  • id - Identifier of the updated sales channel analytics record.
  • trackingId - Tracking identifier after update.
  • active - Activation status after update.
  • trackOrders - Order tracking status after update.
  • anonymizeIp - IP anonymization status after update.
  • createdAt - Creation timestamp of the record.
  • updatedAt - Last update timestamp of the record.
  • salesChannel - Updated sales channel configuration JSON object.

Dependencies

  • An API key credential for Shopware Admin API authentication.

Troubleshooting

  • Ensure the 'Id' property is provided and correctly identifies an existing sales channel analytics record; otherwise, the update will fail.
  • Verify that the JSON provided in the 'Sales Channel' property is valid and correctly formatted to avoid request errors.
  • Check API credentials and base URL configuration to ensure successful authentication and connection to the Shopware Admin API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings, but be aware of security implications.

Discussion