Shopware icon

Shopware

Shopware

Actions778

Customer Group → Update Customer Group

AI-generated

Overview

This node operation updates an existing Customer Group in the Shopware system. It allows users to modify various attributes of a customer group such as its name, display settings, registration options, custom fields, associated customers, sales channels, and registration sales channels. This operation is useful for managing customer segmentation and group-specific settings in an e-commerce platform.

Use Case Examples

  1. Updating the name and display settings of a customer group to reflect new marketing strategies.
  2. Modifying registration options and custom fields for a customer group to tailor the user experience.
  3. Associating different customers and sales channels with a customer group to control access and pricing.

Properties

Name Meaning
Id Identifier for the customer_group, required to specify which group to update.
Response Data format for response, optional query parameter to specify response format.
Name The new name for the customer group.
Display Gross Boolean flag to indicate whether to display gross prices.
Custom Fields JSON object for custom fields associated with the customer group.
Registration Active Boolean flag to indicate if registration is active for the group.
Registration Title Title text for the registration page of the customer group.
Registration Introduction Introduction text for the registration page.
Registration Only Company Registration Boolean flag to restrict registration to company registrations only.
Registration Seo Meta Description SEO meta description for the registration page.
Created At Timestamp string indicating when the customer group was created.
Updated At Timestamp string indicating when the customer group was last updated.
Translated JSON object containing translated fields for the customer group.
Customers JSON array representing customers associated with the group.
Sales Channels JSON array representing sales channels associated with the group.
Registration Sales Channels JSON array representing registration sales channels associated with the group.

Output

JSON

  • id - Identifier of the updated customer group.
  • name - Name of the updated customer group.
  • displayGross - Flag indicating if gross prices are displayed.
  • customFields - Custom fields data of the customer group.
  • registrationActive - Indicates if registration is active.
  • registrationTitle - Title for the registration page.
  • registrationIntroduction - Introduction text for registration.
  • registrationOnlyCompanyRegistration - Flag for company-only registration.
  • registrationSeoMetaDescription - SEO meta description for registration.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.
  • translated - Translated fields data.
  • customers - Associated customers data.
  • salesChannels - Associated sales channels data.
  • registrationSalesChannels - Associated registration sales channels data.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the existing customer group ID to avoid 'not found' errors.
  • Validate JSON format for 'customFields', 'customers', 'salesChannels', and 'registrationSalesChannels' to prevent parsing errors.
  • Check API credentials and permissions to ensure the node can update customer groups.
  • Timeouts or SSL issues can be mitigated by adjusting 'Timeout' and 'Ignore SSL Issues' options in request settings.

Discussion