WinShopAPI docs
ReferenceDocumentsClaimsSupplier

Delete supplier claim items

Deletes the items listed in `itemIds` and recalculates the document totals. Call `GET {documentId}/items/check-delete` first to find out whether the delete is allowed. Requires `Permissions.ClaimSupplier.Delete`.

DELETE
/api/documents/claims/supplier/{documentId}/items

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

itemIds?array<>

Response Body

response?unknownapplication/octet-stream
curl -X DELETE 'https://<your-instance>/api/documents/claims/supplier/0/items' \  -H 'Authorization: Bearer <access-token>'
null