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
Sales Order → Delete Line Item
AI-generatedSummary
Delete a line item from a specified sales order in Xentral by providing the sales order ID and the line item ID to be removed.
Inputs
- Sales Order ID (required) — The ID of the sales order from which the line item will be deleted.
- Line Item ID (required) — The ID of the line item to be deleted from the sales order.
Output shape
a single record representing the result of the delete operation, typically confirming successful deletion or providing error details
The response shape depends on the Xentral API's delete endpoint response format. No pagination or additional data fetching is involved.
Examples
Example 1: Remove a product line from a sales order to correct the order before processing.
Provide the salesOrderId for the target order and the lineItemId of the item to delete.