WinShopAPI docs
ReferenceDocumentsClaimsCustomer

Lock a customer claim

Locks the customer claim 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.ClaimCustomer.Update`.

POST
/api/documents/claims/customer/{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/claims/customer/0/lock' \  -H 'Authorization: Bearer <access-token>'
null