Unlock a supplier order
Releases the lock on the supplier order. Returns 400 when the lock belongs to another user. Requires `Permissions.OrderSupplier.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/orders/supplier/0/lock' \ -H 'Authorization: Bearer <access-token>'nullLock a supplier order POST
Locks the supplier order 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.OrderSupplier.Update`.
Get a supplier order as PDF GET
Renders the supplier order with its configured print template and returns `application/pdf` inline. 404 when the document has no printable output. Requires `Permissions.OrderSupplier.View`.