Skip to main content

Optimise Trip Day

POST 

/api/crm/trips/:trip/optimise

Propose a stop order for one day of the trip: nearest neighbour from the trip's start location (or the first geocoded stop), using the customers' geocoded shipping addresses. Stops without coordinates keep their position and are listed in skipped_ungeocoded. Nothing is saved; send the order back with Replace Trip Stops.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token with the customers scope and the CRM trips view permission.

Request​

Responses​

OK

Response Headers
    Content-Type