listBookingFeesByBookingIds( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves booking fees by booking IDs and multi service booking IDs.

Instead of returning bookingFee objects with the cancellationFee.price.value set to 0.00, the endpoint doesn't return a bookingFee object for the relevant booking IDs. For example, no bookingFee object is returned if the canceled booking was free or if the booking was canceled before the start of the earliest cancellation window.

If the service's booking policy has been updated since the booking was created, booking fees are calculated according to the policy snapshot rather than the current version of the policy.

This endpoint calculates the cancellation fee amount based on the time of the call, you can't specify a time. Similarly, it calculates the cancellation fee based on the number of participants who canceled, not a provided number.

A cancellationFee.status of PREVIEW indicates that the booking fee is informational only; the customer isn't required to pay it. When the status is set to UNKNOWN_STATUS there is no eCommerce order associated with the booking. For example, if a custom checkout was used for the booking instead of the Wix eCommerce checkout.

If multiple events would trigger the calculation of a booking fee, for example when a booking is first canceled and then marked as not attended, Wix calculates the booking fee based on the first trigger. In this example, the booking cancellation.

Permissions
Manage Bookings - all permissions
Read Bookings - all read permissions
Manage Bookings
Read Bookings - Including Participants
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListBookingFeesByBookingIdsOptions

Options to use when listing booking fees.

Returns
Return Type:Promise<ListBookingFeesByBookingIdsResponse>
Was this helpful?
Yes
No