Skip to main content
Version: 68.0.1

updateSalesDocLine

PATCH 

/sales-docs/headers/:headerId/lines/:lineId

Updates a single line of a sales document. This operation is implemented such that nullable attributes or relationships are ignored and, therefore, won't change line's values.

Among the updatable attributes and relationships, there are some that when updated will trigger automatic recalculation of other line's information. In particular, changing:

  • Line's reason may trigger taxes recalculation.
  • Line's warehouse may affect items availability.
  • Line's unit of measurement implies all quantities recalculation.
  • Line's quantity affects stock price.
  • Line's gross price affects its net price based on line's discounts (if any).

To access the service you need at least one of the following permissions:

Permission (one of)
createSalesOrder
updateSalesOrder

Request

Responses