v1

latestOpenAPI 3.0.22026-07-223907721.1 MB
salesorder

Update Sales Order Line Item

Update a line item for a specific sales order

patch/v2/salesOrders/{salesOrderId}/lineitems/{salesOrderLineItemId}

Path parameters

salesOrderIdstring uuid required
Example:b45f6432-2462-4c6f-b00f-1d9d01000000

The id of the sales order that the line items belong to.

salesOrderLineItemIdstring uuid required
Example:b45f6432-2462-4c6f-b00f-1d9d01000000

The id of the line item that the belongs to the sales order.

Headers

x-tenant-idstring uuid required

The tenant ID for the target ERP instance.

x-runasstring

The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.

x-companyidstring

The Company-Id (int or uuid) of the company on whose behalf the request is executed.

Request body

itemIdstring uuid
namestring

Name of the position.

sKUstring

SKU of the sales order line item.

quantitynumber

The quantity of the line item.

salesUnitstring

The sales unit of the line item.

salesPriceNetnumber

The net sales price of the item. Only net or gross price can be entered. The other price will then be calculated.

salesPriceGrossnumber

The gross sales price of the item. Only net or gross price can be entered. The other price will then be calculated.

discountnumber

The discount of the line item.

purchasePriceNetnumber

The purchase price of the item.

taxRatenumber

The tax rate of the line item.

noticestring

Notice for the line item.

Example request

{
  "itemId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
}