WinShopAPI docs

Lock a reimbursement

Locks the reimbursement for the calling user so other users cannot edit it. Returns 400 when it is already locked. Release it with `DELETE {documentId}/lock`. Requires `Permissions.FinancialReimbursements.Update`.

POST
/api/finances/financial-reimbursements/{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/finances/financial-reimbursements/0/lock' \  -H 'Authorization: Bearer <access-token>'
null