API Documentation Updates - June 2026
14 days ago by Shuai Tseng
Added
- Added Added documentation for the new priority and group task fields used by Route Optimization via API, including constraints, behavior, and the requirement to use the v3 routing engine. Initialize Route Optimization and Initialize Route Optimization On-Demand
- Added documentation for the new optional maxDistance field, including accepted values, optimization behavior, and where it can be set for workers and optimization requests. Additional Configurable Fields for RO v3
- Added documentation for task templates, including CRUD coverage for task template endpoints and guidance for creating tasks with custom task templates. Task Template and Creating Tasks with Custom Task Templates
- Added API documentation for invoice line items, including how to update standard line items and add, update, or delete custom line items on orders. Line Items
Changed
- Changed Changed the webhook documentation for taskAssigned to clarify that assigning a route plan sends payloads for every task in that route plan. Webhooks
- Changed the webhook documentation for routePlanCreated to clarify that creating multiple route plans with Route Optimization sends multiple route plan payloads. Webhooks
Removed
- Removed Removed Java wrapper references from the API documentation and updated wrapper references accordingly. Setup Tutorial and [API Wrappers](https://docs.onfleet.com/reference/api-wrappers#/)
- Removed Ruby and Go wrapper references from the setup tutorial to reflect current supported wrapper guidance. Setup Tutorial and [API Wrappers](https://docs.onfleet.com/reference/api-wrappers#/)
Fixed
- Fixed Fixed the Route Optimization scheduling method documentation so the driver-based and vehicle-based articles use consistent, accurate scheduling values and guidance. Initialize Route Optimization and Initialize Vehicle-Based Route Optimization
