Skip to main content

count_promo_uses_for_customer

GET 

/api/method/bookingzone.api.promocode.count_promo_uses_for_customer

Counts how many times a customer has used a promo code.

Only bookings that went through are counted. Pending, cancelled, failed and abandoned checkouts are not.

Both the customer and the promo code must exist.

Login needed: No.

Request​

Responses​

Successful response