Approve Change Request
Approve a pending booking change request. For paid changes this charges the customer's saved card by default and emails a payment link if charging is not possible. Use approval_mode apply_now only when the customer has agreed to apply without payment. App connections need the booking:write scope.
curl -X POST "https://dash.lockii.app/api/v1/booking/change-request/{id}/approve" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"approval_mode": "send_to_customer",
"cancellation_refund_percent": 0
}'Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
idstringpathrequiredChange request ID
Body
approval_modeenum<string>How to apply an approved change. Defaults to charge_and_apply for paid changes, which attempts the customer's saved card first and falls back to emailing a payment link. Use apply_now only to apply without collecting payment, and only when the customer has explicitly agreed to waive the charge. Use send_to_customer to email a payment link without charging a saved card.
One of:send_to_customercharge_and_applyapply_nowcancellation_refund_percentnumberFor cancellation change requests, the percentage of paid order payments to refund. Defaults to 100.
Response
JSON result for this operation.
{}