Create Route
documentedCreate a Dolly route to group multiple deliveries.
POST /v1/routesRoutesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://papi.sandbox.dolly.com/v1/routes" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"clientId": "{{$clientId}}", "externalRouteId": "{{$externalRouteId}}", "orders": [ { "orderId": "{{$orderId}}" } ] }'