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`.
BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
documentId*integerint32itemIds?array<>response?unknownapplication/octet-streamcurl -X DELETE 'https://<your-instance>/api/documents/claims/supplier/0/items' \ -H 'Authorization: Bearer <access-token>'nullAdd items to a supplier claim POST
Appends the items in the body to an existing supplier claim and recalculates the document totals. Requires `Permissions.ClaimSupplier.Create`.
Check whether supplier claim items can be deleted GET
Advisory pre-flight for `DELETE {documentId}/items`. `blockingReasons` holds `ITEMS_BLOCKED` when at least one id in `itemIds` is still referenced elsewhere. At most 1000 ids per call. Requires `Permissions.ClaimSupplier.Delete`.