BizKitHub
DokumentacePrůzkumník APICalendar/api/v1/calendar/event-late-cancel
postCalendarVeřejné 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

Parametry

1 v query · JSON tělo

Parametry v query

· 1
apiKeystringPovinné

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

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Tělo požadavku

application/json
orderIdstringPovinné
Délka: 32
PříkladsSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S
orderItemIdstringPovinné

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

Příklady2d33677772eddbd4e869c6ed6bf6d9f3sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S_4186
identityIdstringPovinné

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

PříkladZ9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg

Schéma odpovědi

3 zdokumentované stavové kódy

200Úspěch
object | object
Jedna z 2 možností:
Varianta 1
status"cancelled"Povinné
cancelledAtstringPovinné
Příklad2026-10-19T16:05:00+02:00
lockCodeDeletedbooleanPovinné

False = the lock was unreachable; deletion is retried.

Varianta 2
status"already_cancelled"Povinné
cancelledAtstringPovinné

Ukázka odpovědi

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

Všechny zdokumentované stavové kódy

· 3

Ukázka požadavku

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"
}'

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč