Shopware icon

Shopware

Shopware

Actions778

Import Export Log → Update Import Export Log

AI-generated

Overview

This node operation updates an Import Export Log in the Shopware system. It is useful for scenarios where you need to modify existing import/export log entries with new data such as activity status, state, record counts, user information, and related logs. For example, after processing an import, you might update the log to reflect the outcome, errors, or additional metadata.

Use Case Examples

  1. Updating the status and record count of an import log after a batch import process.
  2. Modifying user and profile details associated with an import/export log entry.

Properties

Name Meaning
Id Identifier for the import_export_log, used to specify which log entry to update.
Response Data format for response, used as a query parameter to specify the response format.
Activity The activity description or type related to the import/export log.
State The current state of the import/export log entry.
Records Number of records processed or related to the import/export log.
User Id Identifier of the user associated with the import/export log.
Profile Id Identifier of the profile associated with the import/export log.
File Id Identifier of the file related to the import/export log.
Invalid Records Log Id Identifier for the log of invalid records related to the import/export log.
Username Username of the user associated with the import/export log.
Profile Name Name of the profile associated with the import/export log.
Config Configuration data in JSON format related to the import/export log.
Result Result data in JSON format related to the import/export log.
Created At Timestamp when the import/export log entry was created.
Updated At Timestamp when the import/export log entry was last updated.
User User data in JSON format associated with the import/export log.
Profile Profile data in JSON format associated with the import/export log.
File File data in JSON format associated with the import/export log.
Invalid Records Log Invalid records log data in JSON format associated with the import/export log.
Failed Import Log Failed import log data in JSON format associated with the import/export log.

Output

JSON

  • id - Identifier of the updated import_export_log entry.
  • activity - Updated activity description or type.
  • state - Updated state of the import/export log entry.
  • records - Updated number of records processed.
  • userId - User identifier associated with the log.
  • profileId - Profile identifier associated with the log.
  • fileId - File identifier related to the log.
  • invalidRecordsLogId - Identifier for invalid records log.
  • username - Username associated with the log.
  • profileName - Profile name associated with the log.
  • config - Configuration data in JSON format.
  • result - Result data in JSON format.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.
  • user - User data in JSON format.
  • profile - Profile data in JSON format.
  • file - File data in JSON format.
  • invalidRecordsLog - Invalid records log data in JSON format.
  • failedImportLog - Failed import log data in JSON format.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is provided and correctly identifies the import_export_log to update, as it is required.
  • Verify that JSON properties like 'config', 'result', 'user', 'profile', 'file', 'invalidRecordsLog', and 'failedImportLog' are valid JSON strings before sending.
  • Check API credentials and base URL configuration to avoid authentication or connection errors.
  • If the API returns errors, review the response for details on missing or invalid fields and adjust the input accordingly.

Discussion