Shopware icon

Shopware

Shopware

Actions778

Order Delivery Position → Update Order Delivery Position

AI-generated

Overview

This node updates an existing Order Delivery Position in the Shopware system. It is useful for scenarios where you need to modify details of an order delivery position such as price, quantity, associated order delivery and line item information, or custom fields. For example, you might use this node to update the quantity or price of a delivery position after an order modification or to correct data before finalizing an order.

Use Case Examples

  1. Updating the quantity and total price of an order delivery position after a customer changes their order.
  2. Modifying the associated order delivery or line item details to reflect changes in shipping or product information.

Properties

Name Meaning
Id Identifier for the order_delivery_position, required to specify which position to update.
_response Data format for response, optional query parameter to specify response format.
Version Id Version identifier for the order delivery position, used for concurrency control.
Order Delivery Id Identifier of the associated order delivery, required to link the position to the correct delivery.
Order Delivery Version Id Version identifier for the order delivery.
Order Line Item Id Identifier of the associated order line item, required to link the position to the correct line item.
Order Line Item Version Id Version identifier for the order line item.
Price Price details of the order delivery position, including list and regulation prices, provided as JSON.
Unit Price Unit price of the delivery position.
Total Price Total price for the delivery position.
Quantity Quantity of items in the delivery position.
Custom Fields Custom fields for additional data, provided as JSON.
Created At Creation timestamp of the delivery position.
Updated At Last update timestamp of the delivery position.
Order Delivery Detailed JSON object representing the associated order delivery, including tracking codes, shipping costs, state machine state, and related nested data.
Order Line Item Detailed JSON object representing the associated order line item, including states, price, cover, and extensive nested related data.
Request Options Node execution options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • id - Identifier of the updated order delivery position.
  • orderDeliveryId - Identifier of the associated order delivery.
  • orderLineItemId - Identifier of the associated order line item.
  • price - Price details of the updated order delivery position.
  • unitPrice - Unit price of the updated delivery position.
  • totalPrice - Total price of the updated delivery position.
  • quantity - Quantity of items in the updated delivery position.
  • customFields - Custom fields data of the updated delivery position.
  • createdAt - Creation timestamp of the updated delivery position.
  • updatedAt - Last update timestamp of the updated delivery position.
  • orderDelivery - Detailed data of the associated order delivery after update.
  • orderLineItem - Detailed data of the associated order line item after update.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure all required fields (Id, Order Delivery Id, Order Line Item Id) are provided to avoid validation errors.
  • Verify that version IDs match the current versions in the system to prevent concurrency conflicts.
  • Check JSON formatting for price, customFields, orderDelivery, and orderLineItem properties to avoid parsing errors.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate validity.
  • Timeouts can be adjusted via the 'Timeout' request option if the server response is slow.

Discussion