Parameters
JSON body
Request body
application/jsoncodestringRequiredCode of the group to delete.
eshopPermanently deletes an order group. Allowed only when the group is not the default group, has already been deactivated (group-set-active = false) and contains at most 20 orders that are all cancelled (storno), unpaid and without invoices, payments, bank transactions, credit, shipments, complaints, subscriptions, stock movements, vouchers, files or child orders. Those orders are deleted together with the group (items, logs, status history). Customer contacts and organisation-wide statuses are kept. Otherwise the request fails with a message naming the blocking orders; keep such a group deactivated.
JSON body
codestringRequiredCode of the group to delete.
eshop1 status code documented
successbooleanRequiredtruedeletedOrderCountnumberRequiredNumber of cancelled test orders deleted with the group.
{
"success": true,
"deletedOrderCount": 0
}POST /bff/workflow/group-delete
curl -X POST "https://api.bizkithub.com/bff/workflow/group-delete" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"code": "eshop"
}'All BizKitHub public API endpoints require authentication via API key.