Add items to a internal claim
Appends the items in the body to an existing internal claim and recalculates the document totals. Requires `Permissions.ClaimInternal.Create`.
BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
documentId*integerint32application/json- body
[index: integer]?response?unknownapplication/octet-streamcurl -X POST 'https://<your-instance>/api/documents/claims/internal/0/items' \ -H 'Authorization: Bearer <access-token>' \ -H 'Content-Type: application/json' \ -d '[ {}]'nullCheck whether a internal claim can be deleted GET
Advisory pre-flight for `DELETE {documentId}`. `canBeDeleted` is false when `blockingReasons` holds `HEADER_BLOCKED` or `ITEMS_BLOCKED`. The delete re-checks inside its own transaction, so a positive answer here is an indication rather than a guarantee. Requires `Permissions.ClaimInternal.Delete`.
Delete internal claim items DELETE
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.ClaimInternal.Delete`.