Shopware icon

Shopware

Shopware

Actions778

Delivery Time → Update Delivery Time

AI-generated

Overview

This node operation updates an existing Delivery Time entity in the Shopware system. It is useful for scenarios where you need to modify delivery time details such as name, minimum and maximum delivery duration, unit of time, and associated shipping methods or products. For example, you might update the delivery time to reflect new shipping policies or changes in logistics.

Use Case Examples

  1. Updating the delivery time name and duration for a specific delivery time ID.
  2. Modifying the associated shipping methods or products for a delivery time to reflect new business rules.

Properties

Name Meaning
Id Identifier for the delivery_time to update, required to specify which delivery time to modify.
Response Data format for the response, optional query parameter to specify the response format.
Name The name of the delivery time, required for the update.
Min Minimum delivery time value, required for the update.
Max Maximum delivery time value, required for the update.
Unit Unit of time for the delivery duration (e.g., days, hours), required for the update.
Custom Fields Custom fields in JSON format to extend the delivery time entity with additional data.
Created At Timestamp string indicating when the delivery time was created.
Updated At Timestamp string indicating when the delivery time was last updated.
Translated Translated fields in JSON format for localization purposes.
Shipping Methods JSON array of shipping methods associated with the delivery time.
Products JSON array of products associated with the delivery time.
Request Options Node settings for request options such as batching, SSL handling, proxy, and timeout.

Output

JSON

  • id - The identifier of the updated delivery time entity.
  • name - The updated name of the delivery time.
  • min - The updated minimum delivery time value.
  • max - The updated maximum delivery time value.
  • unit - The unit of time for the delivery duration.
  • customFields - Custom fields data included in the updated delivery time.
  • createdAt - Creation timestamp of the delivery time.
  • updatedAt - Last updated timestamp of the delivery time.
  • translated - Localized translations of the delivery time fields.
  • shippingMethods - Associated shipping methods in JSON format.
  • products - Associated products in JSON format.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the delivery time you want to update; otherwise, the update will fail.
  • Verify that required fields like 'Name', 'Min', 'Max', and 'Unit' are provided to avoid validation errors.
  • If using custom JSON fields for 'Custom Fields', 'Translated', 'Shipping Methods', or 'Products', ensure the JSON is correctly formatted to prevent parsing errors.
  • Check network settings such as proxy and SSL options if requests fail due to connectivity or certificate issues.

Discussion