Xentral icon

Xentral

Interact with Xentral ERP API

Actions196

Sales Order → Add Line Item

AI-generated

Summary

Add a product line item to an existing sales order in Xentral by specifying the sales order ID, product ID, quantity, and optional detailed settings for the line item.

Inputs

  • Sales Order ID (required) — The ID of the sales order to add the line item to.
  • Product ID (required) — The ID of the product to include as the line item.
  • Quantity (required) — The quantity of the product to add to the sales order.
  • Line Item Options — Optional detailed properties for the line item such as country of origin, customer product number, delivery date, description, discount percentage, external reference number, visibility on PDFs, HS code, internal comments, name or number overrides, pricing, currency, and tax legal notices.

Output shape

a single record representing the added line item details or the updated sales order line items as returned by the Xentral API.

The output corresponds to the API response which typically includes the details of the newly added line item or the sales order updated state. No pagination or multiple pages apply since this action adds a single line item.

Links

Discussion