Parameters
JSON body
Request body
application/jsoncustomerIdstringRequiredContact external ID.
Example
abc123def456ghijproductCodestringRequiredProduct code with an attached subscription plan.
Example
kurz-mesicniCreates a zero-price paid order for the given subscription product and marks it as paid, which triggers the standard subscription-start rule (writeSubscriptionByOrder). Same effect as if the customer had bought and paid — invoice + activity behave identically. Fails if the product does not have a shop__product_subscription_plan row or does not belong to the current organisation.
JSON body
customerIdstringRequiredContact external ID.
abc123def456ghijproductCodestringRequiredProduct code with an attached subscription plan.
kurz-mesicni1 status code documented
success"true"RequiredorderNumberstringRequiredorderHashstringRequired{
"success": true,
"orderNumber": "example_orderNumber",
"orderHash": "example_orderHash"
}POST /bff/subscription/create-for-contact
curl -X POST "https://api.bizkithub.com/bff/subscription/create-for-contact" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"customerId": "abc123def456ghij",
"productCode": "kurz-mesicni"
}'All BizKitHub public API endpoints require authentication via API key.