Get a intake as PDF
Renders the intake with its configured print template and returns `application/pdf` inline. 404 when the document has no printable output. Requires `Permissions.Intake.View`.
GET
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 GET 'https://<your-instance>/api/documents/intakes/0/pdf' \ -H 'Authorization: Bearer <access-token>'nullUnlock a intake DELETE
Releases the lock on the intake. Returns 400 when the lock belongs to another user. Requires `Permissions.Intake.Update`.
Process a intake POST
Posts the intake to stock, applying the movement of every item, and marks the document as processed. Fails when the document is already processed, or when another user holds its lock. Reverse a processed intake with `POST {documentId}/cancel`. Requires `Permissions.Intake.Update`.