Shopware icon

Shopware

Shopware

Actions778

Custom Field Set Relation → Update Custom Field Set Relation

AI-generated

Overview

This node operation updates a Custom Field Set Relation in the Shopware system. It is useful for scenarios where you need to modify the relationships between custom field sets and entities, such as updating metadata or associations in an e-commerce platform. For example, you might update the relation to reflect changes in product attributes or custom data structures.

Use Case Examples

  1. Updating the relation of a custom field set to a product entity to add or modify custom attributes.
  2. Changing the association of a custom field set to a different entity type for better data organization.

Properties

Name Meaning
Id Identifier for the custom_field_set_relation, used to specify which relation to update.
_response Data format for the response, allowing customization of the response format.
customFieldSetId The ID of the custom field set involved in the relation, required for the update.
entityName The name of the entity to which the custom field set is related, required for the update.
createdAt Timestamp for when the relation was created, optional for the update.
updatedAt Timestamp for when the relation was last updated, optional for the update.
customFieldSet A JSON object representing the custom field set details, including nested custom fields and relations, used to update the relation's data.

Output

JSON

  • id - The identifier of the updated custom field set relation.
  • customFieldSetId - The ID of the custom field set in the updated relation.
  • entityName - The entity name associated with the updated custom field set relation.
  • createdAt - Creation timestamp of the updated relation.
  • updatedAt - Last update timestamp of the relation.
  • customFieldSet - The detailed JSON structure of the custom field set after update, including nested fields and relations.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (id, customFieldSetId, entityName) are provided; missing these will cause errors.
  • Verify the JSON structure of the customFieldSet property is valid and correctly formatted to avoid 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 settings.

Discussion