🔒 Update delivery note line item V3

This endpoint is currently in Beta and available for testing. It may contain bugs, and breaking changes can occur at any time without prior notice. We do not recommend using Beta endpoints in production environments. Should you choose to use it in production, you assume full responsibility for any resulting issues.

This endpoint requires the following scopes: deliveryNote:update.

Update a line item in a delivery note.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
string
required
Body Params
string

Name of the line item.

string | null

Description of the line item.

float

Quantity of the line item.

date | null

Delivery date of the line item.

boolean
Defaults to false

Whether to show the delivery date as calendar week or explicit.

string | null

Internal comment for the line item.

integer

Sort order of the line item.

string | null

Unit of the line item (e.g., "kg", "pcs").

string | null

Country of origin for the product. The legacy empty value "0" is returned as null.

string | null

Harmonized System (HS) code for the product.

string | null

Customer product number for the line item.

string | null

Packaging unit (VPE) of the line item — how many units one package contains. On purchase orders a numeric value greater than 1 makes the generated PDF present the line in packages: the price is printed per package, the quantity in packages, and the unit as "VPE". On all other document types the value is stored and carried over on document conversion, but nothing reads it — in particular, the stored quantity, the stored unit price, and the values returned by the API are never derived from it.

project

Project of the line item. Pass null to remove the project assignment.

customFields
array of objects

Custom field values for the line item. Accepts the customField1 to customField40 keys as well as any custom field configured for this line item in your Xentral instance. Listed keys are written, keys that are not listed are left untouched. Pass value: null to clear a single field.

customFields
printSettings
object

Print settings for this line item

desiredQualityControlAttributes
object

Desired quality control attributes for the line item.

float

Delivered quantity of the line item

boolean

If true, this line item is delivered free of charge (not billable).

customs
object

Customs information for the line item. Both customs values are stored with one shared currency, so the currency sent with either of them applies to both.

string | null

The SSCC (Serial Shipping Container Code) for this line item.

string | null

The package identifier for this line item.

float
≥ 0

The quantity of packaging units for this line item.

float
≥ 0

The quantity of individual pieces for this line item.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Unauthorized

403

Forbidden

404

Not Found

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json