Parameters
JSON body
Request body
application/jsonhashstringRequiredUnique order hash identifier.
cuRefNostringRequired16-char customer reference number to detach.
Removes the shop__order_customer row for the given contact + order. Refuses to remove the LAST linked contact — operator must add a replacement first. When the removed contact was the primary, the earliest-added remaining contact is auto-promoted and shop__order.customer_id is updated to match.
JSON body
hashstringRequiredUnique order hash identifier.
cuRefNostringRequired16-char customer reference number to detach.
1 status code documented
successbooleanRequiredtruepromotedContactIdnumberOptional{
"success": true,
"promotedContactId": 0
}POST /bff/order/remove-customer
curl -X POST "https://api.bizkithub.com/bff/order/remove-customer" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"hash": "example_hash",
"cuRefNo": "example_cuRefNo"
}'All BizKitHub public API endpoints require authentication via API key.