Excel Add-In for Square

Build 26.0.9770

CancelBooking

Cancels an existing booking.

Stored Procedure Specific Information

Execute

To execute this stored procedure, you need to provide the ID of the booking to cancel. You can optionally provide its current version number for optimistic concurrency control.

EXECUTE CancelBooking BookingId = 'zkras0xv0xwswx', BookingVersion = 1

You can also optionally provide an IdempotencyKey for idempotent requests.

EXECUTE CancelBooking BookingId = 'zkras0xv0xwswx', BookingVersion = 1, IdempotencyKey = 'b010d167-d440-46e5-8ef5-6b704c9e3a38'

Input

Name Type Required Description
BookingId String True The ID of the booking to cancel.
BookingVersion Integer False The revision number for the booking used for optimistic concurrency.
IdempotencyKey String False A unique key to make this request an idempotent operation.

Result Set Columns

Name Type Description
Success Boolean Whether the operation was successful.
Id String The ID of the booking.
CurrentStatus String The current status of the booking after cancellation (CANCELLED_BY_CUSTOMER).

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770