Unlock a delivery note
Releases the lock on the delivery note. Returns 400 when the lock belongs to another user. Requires `Permissions.DeliveryNotes.Update`.
DELETE
Bearerheader
AuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
documentId*integerFormat
int32response?unknownapplication/octet-streamcurl -X DELETE 'https://<your-instance>/api/documents/expedition/delivery-notes/0/lock' \ -H 'Authorization: Bearer <access-token>'nullLock a delivery note POST
Locks the delivery note for the calling user so other users cannot edit or process it. Returns 400 when it is already locked. Release it with `DELETE {documentId}/lock`. Requires `Permissions.DeliveryNotes.Update`.
Get a delivery note as PDF GET
Renders the delivery note with its configured print template and returns `application/pdf` inline. 404 when the document has no printable output. Requires `Permissions.DeliveryNotes.View`.