WinShopAPI docs

Lock a internal transfer

Locks the internal transfer 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.InternalTransfer.Update`.

POST
/api/documents/internal-transfers/{documentId}/lock

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

Response Body

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