WinShopAPI docs

Process a intake

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`.

POST
/api/documents/intakes/{documentId}/process

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Path Parameters

documentId*integer
Formatint32

Query Parameters

userId?|
Formatint32

Response Body

response?unknownapplication/octet-stream
curl -X POST 'https://<your-instance>/api/documents/intakes/0/process' \  -H 'Authorization: Bearer <access-token>'
null