/api/tours10

Tour overview for operators: all tours (incl. hidden) with geo polygons and address counts, plus the recent and upcoming delivery rides with customer/order counts. Requires operator or superuser permissions; returns empty lists otherwise.

Change Note: replaces /api/tours9; Tour v8 adds the active count (visible addresses of active customers)

Parameters

(int) days back to include delivery rides (default 5)
(int) days ahead to include delivery rides (default 15)
(int) if 0, polygons are not grouped for geo display
(String) optionally define the response-format for this call. One of: compact (default) | compacts | full | fulls | json | md | html | js | openapi | yaml
(int) optionally force the API to check against the role (instead of silently not returning data). For guests or public access, the default is -1. 0 (regular customer) and above define the role for which the current session is expected to be authorized.

Response Types