Xentral icon

Xentral

Interact with Xentral ERP API

Actions196

Return → Update Line Item

AI-generated

Summary

Update a specific line item in a return order in Xentral by specifying the return order ID and line item ID, along with any fields to update such as quantity, product, description, delivery date, and others.

Inputs

  • Return Order ID (required) — The unique identifier of the return order containing the line item to update.
  • Line Item ID (required) — The unique identifier of the line item to update within the specified return order.
  • Update Fields — Optional fields to modify on the line item; includes delivery date, delivery date as calendar week, description, hidden on PDF flag, name, product ID, quantity, return reason, and sort position.

Output shape

a single updated line item record reflecting the changes made

Requires specifying both return order ID and line item ID; output represents the updated state of the specified line item. No pagination is involved since this operates on a single line item.

Examples

Example 1: Update the quantity and description of a line item in a return order.

Set Return Order ID and Line Item ID of the line item to update. Provide the new quantity and description in the Update Fields collection.

Links

Discussion