Shopware icon

Shopware

Shopware

Actions778

User Access Key → Create User Access Key

AI-generated

Overview

This node operation creates a new User Access Key in the Shopware system. It is useful for scenarios where you need to programmatically generate access keys for users, such as automating user management or integrating with other systems that require user authentication keys. For example, you can create access keys for new users during onboarding or rotate keys for security purposes.

Use Case Examples

  1. Create a new access key for a user by providing the user ID, access key, and secret access key.
  2. Add custom fields and metadata like creation and update timestamps to the access key record.

Properties

Name Meaning
Response Specifies the data format for the response, either basic or detailed.
Id The unique identifier for the user access key to be created.
User Id The identifier of the user to whom the access key belongs.
Access Key The access key string used for authentication.
Secret Access Key The secret key string paired with the access key for secure authentication.
Last Usage At Timestamp of the last time the access key was used.
Custom Fields Additional custom JSON fields to include with the access key.
Created At Timestamp when the access key was created.
Updated At Timestamp when the access key was last updated.
User JSON object representing the user details associated with the access key.
Request Options Settings for request behavior such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - The unique identifier of the created user access key.
  • userId - The identifier of the user associated with the access key.
  • accessKey - The access key string created.
  • secretAccessKey - The secret access key string created.
  • lastUsageAt - Timestamp of the last usage of the access key.
  • customFields - Custom fields included in the access key record.
  • createdAt - Creation timestamp of the access key.
  • updatedAt - Last update timestamp of the access key.
  • user - User details object associated with the access key.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, User Id, Access Key, Secret Access Key) are provided to avoid validation errors.
  • Check API credentials and base URL configuration to prevent authentication or connection errors.
  • If using custom JSON fields, ensure the JSON is correctly formatted to avoid parsing errors.

Discussion