BizKitHub
DocsAPI ReferenceCalendar/api/v1/calendar/event-late-cancel
postCalendarPublic API v1

/api/v1/calendar/event-late-cancel

Cancels a reservation less than onlineChangeDeadline before its start: the slot is released, the order stays paid, nothing is refunded and no e-mail is sent. Allowed only when the calendar has late cancellation enabled, at least lateCancelMinBefore before the start and before the access-code e-mail was sent. Idempotent (already_cancelled). 409 responses carry the current cancellation state.

calendarpostApiV1CalendarEvent-late-cancel

Parameters

1 query · JSON body

Query parameters

· 1
apiKeystringRequired

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

ExamplePRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Request body

application/json
orderIdstringRequired
Length: 32–32
ExamplesSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S
orderItemIdstringRequired

Order line id from /customer/order-list (or <orderId>_<internal id>).

Examples2d33677772eddbd4e869c6ed6bf6d9f3sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S_4186
identityIdstringRequired

Logged user identity (from your frontend cookies). Learn more

ExampleZ9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg

Response schema

3 status codes documented

200Success
object | object
One of 2:
Variant 1
status"cancelled"Required
cancelledAtstringRequired
Example2026-10-19T16:05:00+02:00
lockCodeDeletedbooleanRequired

False = the lock was unreachable; deletion is retried.

Variant 2
status"already_cancelled"Required
cancelledAtstringRequired

Response example

application/json
{
  "status": "cancelled",
  "cancelledAt": "2026-10-19T16:05:00+02:00",
  "lockCodeDeleted": false
}

All documented status codes

· 3

Request example

POST /api/v1/calendar/event-late-cancel

post
curl -X POST "https://api.bizkithub.com/api/v1/calendar/event-late-cancel?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "orderId": "sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S",
  "orderItemId": "2d33677772eddbd4e869c6ed6bf6d9f3",
  "identityId": "Z9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key