/api/admin/tour
Methods
| Endpoint | Description |
|---|---|
| /api/admin/tour/setpolygon | Sets the delivery area polygon of a tour from a KML document, overriding any polygon previously stored for that tour (including one provided by the backend). Only the first polygon of the KML document is used, with its holes. An empty kml parameter clears the stored polygon. The polygon becomes visible in /api/tours9 immediately. Requires operator or superuser permissions. |