Xentral icon

Xentral

Interact with Xentral ERP API

Actions196

Return → Add Line Item

AI-generated

Summary

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.

Links

Discussion