Get customer retention in the back office
GET
https://api.nicer.travel/backoffice/retention
Returns who comes back, over every date: the customers by the UTC month of their first BOOKED order, with how many of them booked again, and the 200 customers with the most BOOKED orders (then the highest lifetime value), one row per agency, customer and currency. A customer is a payer email at one agency with at least one BOOKED order: the same person at two agencies is two customers. The payer email is personal data. The agency is named by the x-nicer-company header and nothing else: with one named, that agency's customers; with none, every agency's. Nicer staff only. Errors: 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff.
Authorization
Header parameters
Returns
200
OK
JSON