Shopware icon

Shopware

Shopware

Actions778

Import Export File → Update Import Export File

AI-generated

Overview

This node operation updates an existing Import Export File in the Shopware system. It is useful for scenarios where you need to modify details of an import/export file such as its original name, path, expiration date, size, access token, timestamps, and log information. For example, you might update the metadata of a file after processing or to extend its expiration date.

Use Case Examples

  1. Updating the expiration date of an import/export file to keep it accessible longer.
  2. Changing the file path or original name after moving or renaming the file in storage.

Properties

Name Meaning
Id Identifier for the import_export_file, used to specify which file to update.
Response Data format for response, used as a query parameter to specify the response format.
Original Name The original name of the import/export file.
Path The file path of the import/export file.
Expire Date The expiration date of the import/export file.
Size The size of the import/export file.
Access Token Access token associated with the import/export file.
Created At Timestamp when the import/export file was created.
Updated At Timestamp when the import/export file was last updated.
Log Log information related to the import/export file, provided as JSON data.

Output

JSON

  • id - Identifier of the updated import_export_file.
  • originalName - Original name of the updated file.
  • path - File path of the updated file.
  • expireDate - Expiration date of the updated file.
  • size - Size of the updated file.
  • accessToken - Access token of the updated file.
  • createdAt - Creation timestamp of the updated file.
  • updatedAt - Last update timestamp of the updated file.
  • log - Log data associated with the updated file.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the file you want to update; otherwise, the update will fail or affect the wrong file.
  • The 'Log' property must be valid JSON; invalid JSON will cause errors during the update.
  • Check API credentials and permissions to ensure the node can perform update operations on import/export files.
  • Timeout or network issues may cause the update request to fail; adjust timeout or proxy settings if needed.

Discussion