Actions778
- Acl Role Actions
- App Actions
- App Action Button Actions
- App Administration Snippet Actions
- App Cms Block Actions
- App Flow Action Actions
- App Flow Event Actions
- App Payment Method Actions
- App Script Condition Actions
- App Shipping Method Actions
- App Template Actions
- Category Actions
- Cms Block Actions
- Cms Page Actions
- Cms Section Actions
- Cms Slot Actions
- Country Actions
- Country State Actions
- Currency Actions
- Currency Country Rounding Actions
- Custom Entity Actions
- Custom Field Actions
- Custom Field Set Actions
- Custom Field Set Relation Actions
- Customer Actions
- Customer Address Actions
- Customer Group Actions
- Customer Recovery Actions
- Customer Wishlist Actions
- Customer Wishlist Product Actions
- Delivery Time Actions
- Document Actions
- Document Base Config Actions
- Document Base Config Sales Channel Actions
- Document Type Actions
- Flow Actions
- Flow Sequence Actions
- Flow Template Actions
- Import Export File Actions
- Import Export Log Actions
- Import Export Profile Actions
- Integration Actions
- Landing Page Actions
- Language Actions
- Locale Actions
- Log Entry Actions
- Mail Header Footer Actions
- Mail Template Actions
- Mail Template Type Actions
- Main Category Actions
- Media Actions
- Media Default Folder Actions
- Media Folder Actions
- Media Folder Configuration Actions
- Media Thumbnail Actions
- Media Thumbnail Size Actions
- Newsletter Recipient Actions
- Notification Actions
- Number Range Actions
- Number Range Sales Channel Actions
- Number Range State Actions
- Number Range Type Actions
- Order Actions
- Order Customer Actions
- Order Delivery Actions
- Order Delivery Position Actions
- Order Line Item Actions
- Order Line Item Download Actions
- Order Transaction Actions
- Order Transaction Capture Actions
- Order Transaction Capture Refund Actions
- Order Transaction Capture Refund Position Actions
- Payment Method Actions
- Plugin Actions
- Product Actions
- Product Configurator Setting Actions
- Product Cross Selling Actions
- Product Cross Selling Assigned Products Actions
- Product Download Actions
- Product Export Actions
- Product Feature Set Actions
- Product Keyword Dictionary Actions
- Product Manufacturer Actions
- Product Media Actions
- Product Price Actions
- Product Review Actions
- Product Search Config Actions
- Product Search Config Field Actions
- Product Search Keyword Actions
- Product Sorting Actions
- Product Stream Actions
- Product Stream Filter Actions
- Product Visibility Actions
- Promotion Actions
- Promotion Discount Actions
- Promotion Discount Prices Actions
- Promotion Individual Code Actions
- Promotion Sales Channel Actions
- Promotion Setgroup Actions
- Property Group Actions
- Property Group Option Actions
- Rule Actions
- Rule Condition Actions
- Sales Channel Actions
- Sales Channel Analytics Actions
- Sales Channel Domain Actions
- Sales Channel Type Actions
- Salutation Actions
- Scheduled Task Actions
- State Machine Transition Actions
- System Config Actions
- Tag Actions
- Tax Actions
- Tax Provider Actions
- Tax Rule Actions
- Tax Rule Type Actions
- Theme Actions
- Unit Actions
- User Actions
- User Access Key Actions
- User Config Actions
- User Recovery Actions
- Webhook Actions
- Webhook Event Log Actions
- System Info Health Check Actions
- Bulk Operations Actions
- Document Management Actions
- Asset Management Actions
- Mail Operations Actions
- System Operations Actions
- Customer Impersonation Actions
- Order Management Actions
- Order Address Actions
- Authorization Authentication Actions
User → Update User
AI-generatedOverview
This node operation updates an existing user in the Shopware system. It allows modifying various user attributes such as username, email, name, locale, avatar, and other related details. This operation is useful for scenarios where user information needs to be maintained or corrected, such as updating contact details, changing user roles, or managing user preferences.
Use Case Examples
- Updating a user's email and username after they request a change.
- Modifying user locale and timezone settings to reflect their current location.
- Activating or deactivating a user account based on their status.
Properties
| Name | Meaning |
|---|---|
| Id | Identifier for the user, used to specify which user to update. |
| Locale Id | Locale identifier for the user, specifying the user's language and regional settings. |
| Username | The username of the user. |
| First Name | The first name of the user. |
| Last Name | The last name of the user. |
| Title | The title of the user (optional). |
| The email address of the user. | |
| Active | Boolean flag indicating if the user is active. |
| Admin | Boolean flag indicating if the user has admin privileges. |
| Last Updated Password At | Timestamp of the last password update for the user. |
| Time Zone | The time zone setting for the user. |
| Custom Fields | Custom JSON fields for additional user data. |
| Avatar Id | Identifier for the user's avatar image. |
| Created At | Timestamp when the user was created. |
| Updated At | Timestamp when the user was last updated. |
| Extensions | JSON object for additional extensions related to the user. |
| Locale | JSON object representing the user's locale details. |
| Avatar Media | JSON object containing media information for the user's avatar. |
| Media | JSON array of media objects associated with the user. |
| Access Keys | JSON array of access key objects related to the user. |
| Configs | JSON array of configuration objects related to the user. |
| State Machine History Entries | JSON array of state machine history entries for the user. |
| Import Export Log Entries | JSON array of import/export log entries related to the user. |
| Acl Roles | JSON array of access control list roles assigned to the user. |
| Recovery User | JSON object representing the recovery user details. |
| Created Orders | JSON array of orders created by the user. |
| Updated Orders | JSON array of orders updated by the user. |
| Created Customers | JSON array of customers created by the user. |
| Updated Customers | JSON array of customers updated by the user. |
Output
JSON
id- The unique identifier of the updated user.username- The updated username of the user.email- The updated email address of the user.firstName- The updated first name of the user.lastName- The updated last name of the user.active- Indicates if the user is active.admin- Indicates if the user has admin privileges.localeId- The locale identifier associated with the user.title- The title of the user.lastUpdatedPasswordAt- Timestamp of the last password update.timeZone- The time zone setting of the user.customFields- Custom fields associated with the user.avatarId- Identifier for the user's avatar image.createdAt- Timestamp when the user was created.updatedAt- Timestamp when the user was last updated.extensions- Additional extensions related to the user.locale- Locale details of the user.avatarMedia- Media information for the user's avatar.media- Media objects associated with the user.accessKeys- Access keys related to the user.configs- Configuration objects related to the user.stateMachineHistoryEntries- State machine history entries for the user.importExportLogEntries- Import/export log entries related to the user.aclRoles- Access control list roles assigned to the user.recoveryUser- Recovery user details.createdOrders- Orders created by the user.updatedOrders- Orders updated by the user.createdCustomers- Customers created by the user.updatedCustomers- Customers updated by the user.
Dependencies
- an API key credential for Shopware Admin API
Troubleshooting
- Ensure the 'Id' property is correctly set to the user identifier to update the correct user.
- Verify that required fields like 'Username', 'Email', 'First Name', 'Last Name', and 'Locale Id' are provided to avoid validation errors.
- Check API credentials and permissions to ensure the node can update user data in Shopware.
- If the update fails, review the API response for error messages related to data format or missing fields.
Links
- Shopware Admin API - Update User - Official documentation for updating a user via Shopware Admin API