Get the sales report in the back office
Returns the sales report of a period: of one agency, or of every agency for Nicer staff who name none. The period's sections all describe the orders created in it (UTC days, from and to included, the last 90 days by default), of the productType asked for, in the currency asked for (USD by default): sales by month and by day, the checkout funnel, Nicer's charges, booking values, open commission by status and by product, property and age, earnings, advisor production, flight routes and lead times. currencyTotals shows the period in every currency side by side; advisorBalances is what each advisor is owed now, whatever the period; currencies lists every currency the orders use. Sold means BOOKED and cancelled CANCELLED. The agency is named by the x-nicer-company header and nothing else. An agency admin may name only an agency they administer, and may leave the header out when they administer one. Nicer staff only: agencies, the ranking of agencies, answered only for the whole platform, and providerKey in byMonth and commissions; an admin's rows are not split by provider. Errors: 400 ERROR_INVALID_QUERY for a bad parameter or a from after to; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named.
Authorization
Query parameters
- fromoptionalstring
The period's first UTC day, included; 90 days before to by default.
format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$ · example: "2026-08-12" - tooptionalstring
The period's last UTC day, included; today by default.
format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$ · example: "2026-11-10"
Header parameters
Returns
200
OK