| days | No | Days it looks, 0 = Sunday … 6 = Saturday. | |
| look | No | clock looks at a time of day; fill looks when enough orders wait; both does either. | clock |
| mode | No | suggest: it works the routes out and asks. auto: it routes on its own once switched on. | suggest |
| name | Yes | What to call the rule, e.g. 'Reparto de la mañana'. | |
| fill_by | No | What fill_percent counts before a run is worth starting. | orders |
| looks_at | No | One time of day, HH:MM: it looks once, then. Use this for 'every day at 8'. | |
| timezone | No | IANA time zone the schedule is read in. | UTC |
| max_units | No | Vehicles the user can actually put on the street. | |
| window_to | No | End of that window. | |
| match_tags | No | Only orders carrying these tags, e.g. ml:flex, ship:envio-a-domicilio. | |
| min_orders | No | Fewer waiting orders than this and the slot is skipped. | |
| window_from | No | Start of a window it looks inside. | |
| fill_percent | No | Share of the fleet's capacity that makes a run worth it. | |
| min_packages | No | Fewer waiting packages than this and the slot is skipped. | |
| operation_id | Yes | Your id for this attempt. Sending it twice returns the same rule instead of a second one. | |
| every_minutes | No | How often it looks inside the window. | |
| use_plan_stops | No | True for a route that repeats: the plan's own stops are the batch. False when a store feeds it. | |
| vehicle_type_id | No | Template vehicle entry. Omit for a single type; otherwise choose in the dashboard. | |
| template_plan_id | Yes | A saved plan (list_plans) to copy the depot, the vehicles and the optimizer settings from. It is copied once, not linked: editing or deleting that plan later does not touch the rule. | |
| stops_per_vehicle | No | Stops each vehicle takes. | |
| integration_account_id | No | A connected store to take orders from (from list_automations `stores`). | |