Shopware icon

Shopware

Shopware

Actions778

Order Delivery → Update Order Delivery

AI-generated

Overview

This node operation updates an existing Order Delivery in the Shopware system. It allows users to modify various details of an order delivery such as shipping method, shipping address, shipping dates, tracking codes, state, and associated order information. This is useful in scenarios where order delivery details need to be corrected or updated after the initial creation, for example, changing the shipping method, updating tracking information, or adjusting shipping dates.

Use Case Examples

  1. Updating the shipping method and tracking codes for an order delivery after the order has been processed.
  2. Modifying the shipping address or shipping dates for an order delivery to reflect customer changes.
  3. Adjusting the state or status of an order delivery as it progresses through the fulfillment process.

Properties

Name Meaning
Id Identifier for the order_delivery, required to specify which order delivery to update.
_response Data format for response, used as a query parameter to specify the response format.
versionId Version identifier for the order delivery, used for version control in updates.
orderId Identifier of the associated order, required to link the delivery to the correct order.
orderVersionId Version identifier for the order, used for version control.
shippingOrderAddressId Identifier for the shipping order address, required to specify the delivery address.
shippingOrderAddressVersionId Version identifier for the shipping order address.
shippingMethodId Identifier for the shipping method used for the delivery, required to specify how the order is shipped.
stateId Identifier for the state of the order delivery, required to specify the current status.
trackingCodes Tracking codes associated with the delivery, provided as JSON to track shipment.
shippingDateEarliest Earliest shipping date for the delivery, required to specify the shipping window.
shippingDateLatest Latest shipping date for the delivery, required to specify the shipping window.
shippingCosts Shipping costs details provided as JSON, including list price and regulation price.
customFields Custom fields as JSON for additional data related to the order delivery.
createdAt Creation timestamp of the order delivery.
updatedAt Last update timestamp of the order delivery.
stateMachineState State machine state details as JSON, representing the state transitions and history of the order delivery.
order Order details as JSON, including pricing, state, customer, and related entities.
shippingOrderAddress Shipping order address details as JSON, including country, state, customer, and related entities.
shippingMethod Shipping method details as JSON, including delivery time, availability, and related entities.
positions Positions within the order delivery as JSON, detailing pricing, state, and related order line items.

Output

JSON

  • id - The unique identifier of the updated order delivery.
  • orderId - The identifier of the associated order.
  • shippingMethodId - The identifier of the shipping method used.
  • stateId - The current state identifier of the order delivery.
  • shippingDateEarliest - The earliest shipping date for the delivery.
  • shippingDateLatest - The latest shipping date for the delivery.
  • trackingCodes - Tracking codes associated with the delivery.
  • shippingCosts - Details of the shipping costs.
  • customFields - Custom fields related to the order delivery.
  • createdAt - Timestamp when the order delivery was created.
  • updatedAt - Timestamp when the order delivery was last updated.
  • stateMachineState - State machine state details representing the delivery's state transitions.
  • order - Detailed order information associated with the delivery.
  • shippingOrderAddress - Detailed shipping address information.
  • shippingMethod - Detailed shipping method information.
  • positions - Detailed positions within the order delivery.

Troubleshooting

  • Ensure all required fields (Id, Order Id, Shipping Order Address Id, Shipping Method Id, State Id, Shipping Date Earliest, Shipping Date Latest) are provided to avoid validation errors.
  • Verify JSON fields (trackingCodes, shippingCosts, customFields, stateMachineState, order, shippingOrderAddress, shippingMethod, positions) are correctly formatted to prevent parsing errors.
  • Check API credentials and base URL configuration to ensure successful connection to the Shopware API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings.

Discussion