Route optimization - how to add multiple breaks?

The API says that “break” expects an Object. How do I specify 2 breaks?

I haven’t tried it myself but the DriveTimeBreak object has an attribute:

possible_split | Array of integers | Array specifying how a break duration (in seconds) can be split into several smaller breaks

Powered by Discourse