Update production order delivery notes
Endpoint: PUT /v10/production-order-delivery-notes/{productionOrderDeliveryNoteId}
Parameter | Required | Default | Description |
---|---|---|---|
production_order_delivery_note | Yes | Production order delivery note data |
Production order delivery note data
Parameter | Required | Default | Description |
---|---|---|---|
status | Possible values: open , sent , received , booked | ||
expected_departure | The expected departure date of the delivery note | ||
expected_arrival | The expected arrival date of the delivery note | ||
lines.* | An array of object production order line data |
Production order delivery note line data
Parameter | Required | Default | Description |
---|---|---|---|
id | Yes, if no variant_id or sku or ean is given | The line ID of the line | |
variant_id | Yes, if no sku or ean is given | The variant ID of the line | |
sku | Yes, if no variant_id or ean is given | The SKU of the line | |
ean | Yes, if no variant_id or sku is given | The EAN of the line | |
ordered | The expected quantity of the line | ||
received | The received quantity of the line. NOTE This is the number that is used to increase inventory when the delivery note is received | ||
text | The 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
}
]
}
}