Actions778
- Acl Role Actions
- App Actions
- App Action Button Actions
- App Administration Snippet Actions
- App Cms Block Actions
- App Flow Action Actions
- App Flow Event Actions
- App Payment Method Actions
- App Script Condition Actions
- App Shipping Method Actions
- App Template Actions
- Category Actions
- Cms Block Actions
- Cms Page Actions
- Cms Section Actions
- Cms Slot Actions
- Country Actions
- Country State Actions
- Currency Actions
- Currency Country Rounding Actions
- Custom Entity Actions
- Custom Field Actions
- Custom Field Set Actions
- Custom Field Set Relation Actions
- Customer Actions
- Customer Address Actions
- Customer Group Actions
- Customer Recovery Actions
- Customer Wishlist Actions
- Customer Wishlist Product Actions
- Delivery Time Actions
- Document Actions
- Document Base Config Actions
- Document Base Config Sales Channel Actions
- Document Type Actions
- Flow Actions
- Flow Sequence Actions
- Flow Template Actions
- Import Export File Actions
- Import Export Log Actions
- Import Export Profile Actions
- Integration Actions
- Landing Page Actions
- Language Actions
- Locale Actions
- Log Entry Actions
- Mail Header Footer Actions
- Mail Template Actions
- Mail Template Type Actions
- Main Category Actions
- Media Actions
- Media Default Folder Actions
- Media Folder Actions
- Media Folder Configuration Actions
- Media Thumbnail Actions
- Media Thumbnail Size Actions
- Newsletter Recipient Actions
- Notification Actions
- Number Range Actions
- Number Range Sales Channel Actions
- Number Range State Actions
- Number Range Type Actions
- Order Actions
- Order Customer Actions
- Order Delivery Actions
- Order Delivery Position Actions
- Order Line Item Actions
- Order Line Item Download Actions
- Order Transaction Actions
- Order Transaction Capture Actions
- Order Transaction Capture Refund Actions
- Order Transaction Capture Refund Position Actions
- Payment Method Actions
- Plugin Actions
- Product Actions
- Product Configurator Setting Actions
- Product Cross Selling Actions
- Product Cross Selling Assigned Products Actions
- Product Download Actions
- Product Export Actions
- Product Feature Set Actions
- Product Keyword Dictionary Actions
- Product Manufacturer Actions
- Product Media Actions
- Product Price Actions
- Product Review Actions
- Product Search Config Actions
- Product Search Config Field Actions
- Product Search Keyword Actions
- Product Sorting Actions
- Product Stream Actions
- Product Stream Filter Actions
- Product Visibility Actions
- Promotion Actions
- Promotion Discount Actions
- Promotion Discount Prices Actions
- Promotion Individual Code Actions
- Promotion Sales Channel Actions
- Promotion Setgroup Actions
- Property Group Actions
- Property Group Option Actions
- Rule Actions
- Rule Condition Actions
- Sales Channel Actions
- Sales Channel Analytics Actions
- Sales Channel Domain Actions
- Sales Channel Type Actions
- Salutation Actions
- Scheduled Task Actions
- State Machine Transition Actions
- System Config Actions
- Tag Actions
- Tax Actions
- Tax Provider Actions
- Tax Rule Actions
- Tax Rule Type Actions
- Theme Actions
- Unit Actions
- User Actions
- User Access Key Actions
- User Config Actions
- User Recovery Actions
- Webhook Actions
- Webhook Event Log Actions
- System Info Health Check Actions
- Bulk Operations Actions
- Document Management Actions
- Asset Management Actions
- Mail Operations Actions
- System Operations Actions
- Customer Impersonation Actions
- Order Management Actions
- Order Address Actions
- Authorization Authentication Actions
Order Line Item → Create Order Line Item
AI-generatedOverview
This node operation creates a new Order Line Item in the Shopware system. It is useful for automating the addition of items to an order, such as when processing e-commerce transactions or managing order details programmatically. For example, it can be used to add a product to a customer's order with specific quantities, pricing, and related metadata.
Use Case Examples
- Adding a product to an existing order with specified quantity and price.
- Creating a promotional item line in an order to apply discounts or special offers.
Properties
| Name | Meaning |
|---|---|
| Response | Data format for response, either basic or detailed. |
| Id | Unique identifier for the order line item. |
| Version Id | Version identifier for the order line item. |
| Order Id | Identifier of the order to which the line item belongs. |
| Order Version Id | Version identifier for the order. |
| Product Id | Identifier of the product associated with the line item. |
| Product Version Id | Version identifier for the product. |
| Promotion Id | Identifier of the promotion applied to the line item. |
| Parent Id | Identifier of the parent line item if this is a child item. |
| Parent Version Id | Version identifier for the parent line item. |
| Cover Id | Identifier for the cover media associated with the line item. |
| Identifier | Unique identifier string for the line item. |
| Referenced Id | Referenced identifier related to the line item. |
| Quantity | Quantity of the product in the line item. |
| Label | Label or name of the line item. |
| Payload | Additional JSON payload data for the line item. |
| Good | Boolean indicating if the item is a good (true) or service (false). |
| Removable | Boolean indicating if the line item can be removed. |
| Stackable | Boolean indicating if the line item can be stacked with others. |
| Position | Position index of the line item in the order. |
| States | JSON array representing the states of the line item. |
| Price | JSON object defining the price details of the line item. |
| Price Definition | JSON object defining the price calculation rules. |
| Unit Price | Unit price of the product in the line item. |
| Total Price | Total price for the quantity of the line item. |
| Description | Description text for the line item. |
| Type | Type of the line item. |
| Custom Fields | Custom fields as JSON object for additional data. |
| Created At | Creation timestamp of the line item. |
| Updated At | Last update timestamp of the line item. |
| Cover | JSON object representing cover media and related data. |
| Order | JSON object representing the order details related to the line item. |
| Product | JSON object representing the product details related to the line item. |
| Promotion | JSON object representing promotion details related to the line item. |
| Order Delivery Positions | JSON array representing delivery positions related to the line item. |
| Order Transaction Capture Refund Positions | JSON array representing refund positions related to the line item. |
| Downloads | JSON array representing downloadable items related to the line item. |
| Parent | JSON object representing the parent line item details. |
| Children | JSON array representing child line items. |
Output
JSON
id- Unique identifier of the created order line item.orderId- Identifier of the order to which the line item belongs.productId- Identifier of the product associated with the line item.quantity- Quantity of the product in the line item.label- Label or name of the line item.price- Price details of the line item.states- States of the line item.createdAt- Creation timestamp of the line item.updatedAt- Last update timestamp of the line item.
Dependencies
- An API key credential for Shopware Admin API
Troubleshooting
- Ensure all required fields (Id, Order Id, Identifier, Quantity, Label, States, Price) are provided and correctly formatted.
- Check API credentials and base URL configuration for connectivity issues.
- Verify JSON fields (Payload, States, Price, Price Definition, Custom Fields, Cover, Order, Product, Promotion, Order Delivery Positions, Order Transaction Capture Refund Positions, Downloads, Parent, Children) are valid JSON and properly structured.