Shopware icon

Shopware

Shopware

Actions778

Order → Create Order

AI-generated

Overview

This node operation allows users to create an Order in the Shopware system. It is beneficial for automating order creation workflows, integrating external order management systems, or programmatically generating orders based on business logic. For example, an e-commerce platform can use this node to create orders automatically when a customer completes a purchase on a third-party site.

Use Case Examples

  1. Automatically create an order in Shopware when a new customer places an order on an external website.
  2. Integrate with a CRM system to generate orders in Shopware based on sales activities.
  3. Batch create multiple orders in Shopware from a CSV import process.

Properties

Name Meaning
Response Data format for response, either basic or detailed.
Id Unique identifier for the order.
Version Id Version identifier for the order.
Auto Increment Auto increment number for the order.
Order Number Order number string.
Billing Address Id Identifier for the billing address.
Billing Address Version Id Version identifier for the billing address.
Currency Id Identifier for the currency used in the order.
Language Id Identifier for the language used in the order.
Sales Channel Id Identifier for the sales channel.
Order Date Time Date and time when the order was placed.
Order Date Date when the order was placed.
Price Price details in JSON format.
Amount Total Total amount for the order.
Amount Net Net amount for the order.
Position Price Price per position in the order.
Tax Status Tax status string.
Shipping Costs Shipping cost details in JSON format.
Shipping Total Total shipping cost.
Currency Factor Currency factor for the order.
Deep Link Code Deep link code string.
Affiliate Code Affiliate code string.
Campaign Code Campaign code string.
Customer Comment Customer comment string.
Source Source string of the order.
State Id Identifier for the state of the order.
Rule Ids Rule identifiers in JSON format.
Custom Fields Custom fields in JSON format.
Created By Id Identifier for the creator of the order.
Updated By Id Identifier for the last updater of the order.
Item Rounding Item rounding details in JSON format.
Total Rounding Total rounding details in JSON format.
Created At Creation timestamp string.
Updated At Last update timestamp string.
State Machine State State machine state details in JSON format.
Order Customer Order customer details in JSON format.
Currency Currency details in JSON format.
Language Language details in JSON format.
Sales Channel Sales channel details in JSON format.
Addresses Addresses details in JSON format.
Billing Address Billing address details in JSON format.
Deliveries Deliveries details in JSON format.
Line Items Line items details in JSON format.
Transactions Transactions details in JSON format.
Documents Documents details in JSON format.
Tags Tags details in JSON format.
Created By Creator details in JSON format.
Updated By Updater details in JSON format.

Output

JSON

  • id - Unique identifier of the created order.
  • orderNumber - Order number assigned to the created order.
  • amountTotal - Total amount of the created order.
  • stateId - State identifier of the created order.
  • createdAt - Timestamp when the order was created.
  • updatedAt - Timestamp when the order was last updated.

Dependencies

  • Shopware API authentication credentials

Troubleshooting

  • Ensure all required fields (marked as required) are provided to avoid validation errors.
  • Check the format of JSON fields to ensure they are valid JSON strings.
  • If the API returns an error, verify the API credentials and endpoint URL configuration.
  • Timeouts can occur if the server is slow; adjust the timeout setting in request options if needed.

Discussion