Shopware icon

Shopware

Shopware

Actions778

Product Export → Update Product Export

AI-generated

Overview

This node operation updates an existing Product Export in the Shopware system. It is useful for scenarios where you need to modify the details of a product export, such as changing the product stream, sales channels, currency, file format, or scheduling options. For example, you might update the export to include different product variants, change the export file name, or adjust the export interval for automated generation.

Use Case Examples

  1. Updating the product export to change the associated product stream and sales channel.
  2. Modifying the export file format and encoding for compatibility with different systems.
  3. Adjusting the export schedule to pause or resume automatic generation by cronjob.

Properties

Name Meaning
Id Identifier for the product_export to update, required to specify which export to modify.
Response Data format for response, used as a query parameter to specify the response format.
Product Stream Id Identifier of the product stream associated with the export.
Storefront Sales Channel Id Identifier of the storefront sales channel for the export.
Sales Channel Id Identifier of the sales channel for the export.
Sales Channel Domain Id Identifier of the sales channel domain for the export.
Currency Id Identifier of the currency used in the export.
File Name Name of the export file.
Access Key Access key for authentication or authorization related to the export.
Encoding Encoding format of the export file.
File Format Format of the export file (e.g., CSV, XML).
Include Variants Boolean flag to include product variants in the export.
Generate By Cronjob Boolean flag indicating if the export is generated automatically by a cronjob.
Generated At Timestamp when the export was last generated.
Interval Interval in seconds or minutes for the export generation schedule.
Header Template Template string for the header section of the export file.
Body Template Template string for the body section of the export file.
Footer Template Template string for the footer section of the export file.
Paused Schedule Boolean flag to pause the export schedule.
Is Running Boolean flag indicating if the export process is currently running.
Created At Timestamp when the export was created.
Updated At Timestamp when the export was last updated.
Product Stream JSON object representing the product stream details associated with the export.
Storefront Sales Channel JSON object representing the storefront sales channel details.
Sales Channel JSON object representing the sales channel details.
Sales Channel Domain JSON object representing the sales channel domain details.
Currency JSON object representing the currency details used in the export.

Output

JSON

  • id - Identifier of the updated product export.
  • productStreamId - Identifier of the associated product stream.
  • storefrontSalesChannelId - Identifier of the storefront sales channel.
  • salesChannelId - Identifier of the sales channel.
  • salesChannelDomainId - Identifier of the sales channel domain.
  • currencyId - Identifier of the currency used.
  • fileName - Name of the export file.
  • accessKey - Access key related to the export.
  • encoding - Encoding format of the export file.
  • fileFormat - Format of the export file.
  • includeVariants - Flag indicating if variants are included.
  • generateByCronjob - Flag indicating if generated by cronjob.
  • generatedAt - Timestamp of last generation.
  • interval - Interval for export generation.
  • headerTemplate - Header template string.
  • bodyTemplate - Body template string.
  • footerTemplate - Footer template string.
  • pausedSchedule - Flag indicating if schedule is paused.
  • isRunning - Flag indicating if export is running.
  • createdAt - Creation timestamp.
  • updatedAt - Last update timestamp.
  • productStream - Product stream details as JSON.
  • storefrontSalesChannel - Storefront sales channel details as JSON.
  • salesChannel - Sales channel details as JSON.
  • salesChannelDomain - Sales channel domain details as JSON.
  • currency - Currency details as JSON.

Dependencies

  • Shopware API with appropriate credentials

Troubleshooting

  • Ensure all required fields (Id, Product Stream Id, Storefront Sales Channel Id, Sales Channel Id, Sales Channel Domain Id, Currency Id, File Name, Access Key, Encoding, File Format, Interval) are provided and correctly formatted.
  • Verify that the JSON fields (Product Stream, Storefront Sales Channel, Sales Channel, Sales Channel Domain, Currency) are valid JSON objects and properly parsed.
  • Check API credentials and permissions to ensure the node can update product exports in Shopware.
  • Common errors may include missing required fields, invalid JSON format, or authentication failures. Review error messages for specific missing or invalid parameters and correct them accordingly.

Discussion