Shopware icon

Shopware

Shopware

Actions778

User → Create User

AI-generated

Overview

This node operation allows creating a new user in the Shopware system. It is useful for automating user management tasks such as adding new users with specific details like username, email, locale, and roles. For example, it can be used in workflows that onboard new employees or register customers automatically.

Use Case Examples

  1. Create a new user with required fields like id, username, email, first name, last name, and locale.
  2. Set optional user attributes such as title, active status, admin rights, avatar, and custom fields during user creation.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the user.
Locale Id Locale identifier for the user.
Username Username of the user.
First Name User's first name.
Last Name User's last name.
Title User's title (optional).
Email User's email address.
Active Whether the user is active or not.
Admin Whether the user has admin rights.
Last Updated Password At Timestamp of last password update.
Time Zone User's time zone.
Custom Fields Custom JSON fields for the user.
Avatar Id Identifier for the user's avatar.
Created At Timestamp when the user was created.
Updated At Timestamp when the user was last updated.
Extensions Additional JSON extensions related to the user.
Locale Locale information in JSON format.
Avatar Media Avatar media details in JSON format.
Media Media associated with the user in JSON format.
Access Keys Access keys related to the user in JSON format.
Configs Configuration settings for the user in JSON format.
State Machine History Entries State machine history entries in JSON format.
Import Export Log Entries Import/export log entries in JSON format.
Acl Roles Access control list roles in JSON format.
Recovery User Recovery user information in JSON format.
Created Orders Orders created by the user in JSON format.
Updated Orders Orders updated by the user in JSON format.
Created Customers Customers created by the user in JSON format.
Updated Customers Customers updated by the user in JSON format.

Output

JSON

  • id - Unique identifier of the created user.
  • username - Username of the created user.
  • email - Email address of the created user.
  • firstName - First name of the created user.
  • lastName - Last name of the created user.
  • active - Indicates if the user is active.
  • admin - Indicates if the user has admin rights.
  • localeId - Locale identifier of the user.
  • createdAt - Timestamp when the user was created.
  • updatedAt - Timestamp when the user was last updated.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (id, localeId, username, firstName, lastName, email) are provided to avoid validation errors.
  • If the API call fails, check the Shopware Admin API credentials and base URL configuration.
  • For JSON fields like customFields, media, and extensions, ensure valid JSON format to prevent parsing errors.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings.

Discussion