Shopware icon

Shopware

Shopware

Actions778

Order Delivery → Create Order Delivery

AI-generated

Overview

This node operation creates a new Order Delivery in the Shopware system. It is useful for automating the process of adding delivery details to an order, including shipping information, tracking codes, shipping methods, and delivery positions. For example, it can be used in e-commerce workflows to update order delivery status and details automatically after an order is processed.

Use Case Examples

  1. Automatically create an order delivery with shipping details and tracking codes after an order is confirmed.
  2. Integrate with external shipping services to update delivery information in Shopware.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the order delivery.
Version Id Version identifier for the order delivery.
Order Id Identifier of the order to which the delivery belongs.
Order Version Id Version identifier for the order.
Shipping Order Address Id Identifier for the shipping address associated with the delivery.
Shipping Order Address Version Id Version identifier for the shipping order address.
Shipping Method Id Identifier for the shipping method used for the delivery.
State Id Identifier for the state of the delivery.
Tracking Codes Tracking codes associated with the delivery.
Shipping Date Earliest Earliest date the shipment can be sent.
Shipping Date Latest Latest date the shipment can be sent.
Shipping Costs Shipping cost details for the delivery.
Custom Fields Custom fields for additional delivery information.
Created At Creation timestamp of the delivery.
Updated At Last update timestamp of the delivery.
State Machine State State machine state details for the delivery.
Order Order details associated with the delivery.
Shipping Order Address Shipping address details for the delivery.
Shipping Method Shipping method details for the delivery.
Positions Positions or items included in the delivery.

Output

JSON

  • id - Unique identifier of the created order delivery.
  • orderId - Identifier of the order associated with the delivery.
  • shippingOrderAddressId - Identifier of the shipping address used for the delivery.
  • shippingMethodId - Identifier of the shipping method used.
  • stateId - Identifier of the delivery state.
  • trackingCodes - Tracking codes related to the delivery.
  • shippingDateEarliest - Earliest shipping date.
  • shippingDateLatest - Latest shipping date.
  • shippingCosts - Details of shipping costs.
  • customFields - Custom fields with additional delivery information.
  • createdAt - Timestamp when the delivery was created.
  • updatedAt - Timestamp when the delivery was last updated.
  • stateMachineState - State machine state information.
  • order - Order details associated with the delivery.
  • shippingOrderAddress - Shipping address details.
  • shippingMethod - Shipping method details.
  • positions - Positions or items included in the delivery.

Dependencies

  • An API key credential for Shopware Admin API

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.
  • If the API returns authentication errors, verify that the Shopware Admin API credentials are correctly configured and have necessary permissions.
  • For JSON fields (Tracking Codes, Shipping Costs, Custom Fields, State Machine State, Order, Shipping Order Address, Shipping Method, Positions), ensure the JSON is well-formed to prevent parsing errors.

Discussion