Skip to main content

Update production order delivery notes

Endpoint: PUT /v10/production-order-delivery-notes/{productionOrderDeliveryNoteId}

ParameterRequiredDefaultDescription
production_order_delivery_noteYesProduction order delivery note data

Production order delivery note data

ParameterRequiredDefaultDescription
statusPossible values: open, sent, received, booked
expected_departureThe expected departure date of the delivery note
expected_arrivalThe expected arrival date of the delivery note
lines.*An array of object production order line data

Production order delivery note line data

ParameterRequiredDefaultDescription
idYes, if no variant_id or sku or ean is givenThe line ID of the line
variant_idYes, if no sku or ean is givenThe variant ID of the line
skuYes, if no variant_id or ean is givenThe SKU of the line
eanYes, if no variant_id or sku is givenThe EAN of the line
orderedThe expected quantity of the line
receivedThe received quantity of the line. NOTE This is the number that is used to increase inventory when the delivery note is received
textThe text of the line

Example

PUT /v10/production-order-delivery-notes/1

{
"production_order_delivery_note": {
"lines": [
{
"id": 1,
"ordered": 10,
"received": 8
},
{
"id": 2,
"ordered": 10,
"received": 10
}
]
}
}