Delete internal order 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.OrderInternal.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/orders/internal/0/items' \ -H 'Authorization: Bearer <access-token>'nullAdd items to a internal order POST
Appends the items in the body to an existing internal order and recalculates the document totals. Requires `Permissions.OrderInternal.Create`.
Check whether internal order 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.OrderInternal.Delete`.