Actions196
- Address Actions
- Contact Actions
- Credit Note Actions
- Customer Actions
- Delivery Note Actions
- Delivery Terms Actions
- Employee Actions
- Goods Receipt Actions
- Invoice Actions
- Liability Actions
- Offer Actions
- Payment Method Actions
- Payment Terms Group Actions
- Production Actions
- Product Actions
- Proforma Invoice Actions
- Project Actions
- Purchase Order Actions
- Purchase Price Actions
- Return Actions
- Sales Channel Actions
- Sales Order Actions
- Sales Price Actions
- Shipment Actions
- Shipping Method Actions
- Storage Location Actions
- Supplier Actions
- Tag Actions
- Warehouse Actions
- Webhook Actions
Return → Add Line Item
AI-generatedSummary
Add a line item to an existing return order in Xentral by specifying the return order ID, product ID, quantity, and optional line item details.
Inputs
- Return Order ID (required) — The ID of the return order to which the line item will be added.
- Product ID (required) — The ID of the product to add as a line item.
- Quantity (required) — The quantity of the product to add; minimum is 1.
- Line Item Options — Optional additional fields for the line item such as country of origin, customer product number, delivery date, description, hiding the line item on PDFs, customs code, internal comment, custom name or number, and return reason.
Output shape
a single record representing the updated line item or confirmation from the Xentral API
The operation requires the return order ID and product ID for the addition, and returns the response from the Xentral API which confirms the addition of the line item. Optional fields customize the line item details. No pagination applies to this operation.
Examples
Example 1: Add a product line item with quantity 3 to a return order
Set 'Return Order ID' to the target return, 'Product ID' to the desired product, 'Quantity' to 3, and optionally provide a 'Description' in Line Item Options to annotate the line.