Get a supplier order as PDF
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`.
BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
documentId*integerint32response?unknownapplication/octet-streamcurl -X GET 'https://<your-instance>/api/documents/orders/supplier/0/pdf' \ -H 'Authorization: Bearer <access-token>'nullUnlock a supplier order DELETE
Releases the lock on the supplier order. Returns 400 when the lock belongs to another user. Requires `Permissions.OrderSupplier.Update`.
Get any document as PDF GET
Renders the document identified by `documentType` and `documentId` with its configured print template and returns `application/pdf` inline. Equivalent to the `/pdf` endpoint on each document type's own controller, for callers that hold the document type as data. 404 when the document has no printable output.