Routestripe API
MainKnowledge BaseSupport CentreAPI Reference
MainKnowledge BaseSupport CentreAPI Reference
  1. Webhooks
  • Introduction
    • What Is RouteStripe
    • Quick Start Guide
    • API Parameters
  • Default module
    • Get optimized locations
      POST
  • Management API
    • Visits
      • Store Visit
      • Update Visit by field
      • Get Visit
      • Get Visits
      • Delete Visit
    • Attachments
      • Store Attachment
      • Get Attachments
      • Get Attachment Image
      • Delete Attachment
    • Warehouses
      • Store Warehouse
      • Update Warehouse by field
      • Get Warehouse
      • Get Warehouses
      • Delete Warehouse
    • Vehicles
      • Store Vehicle
      • Update Vehicle by field
      • Get Vehicle
      • Get Vehicles
      • Delete Vehicle
    • Members
      • Store Member
      • Update Member by field
      • Get Member
      • Get Members
      • Delete Member
    • Plans
      • Store Plan
      • Update Plan by field
      • Get Plan
      • Get Plans.
      • Delete Plan
    • Routes
      • Store Route
      • Update Route by field
      • Get Route
      • Get Routes
      • Delete Route
    • Companies
      • Get Company
      • Update Company by field
    • Countries
      • Get Countries
  • Webhooks
    • Webhooks & Real-time Updates
  1. Webhooks

Webhooks & Real-time Updates

English
Українська

How to Use Visit Priority#

Use Priority to set the order of stops on a route. You can set it for one visit or load it for all visits from an Excel file. In the same file you can also assign visits to vehicles.
How it works: Plate in the file selects the vehicle. Priority sets the order of stops. To plan by priority, select Priority in the planning settings.

Priority rules#

Priority is a number from 1 to 999. A smaller number means a higher priority.
You can fill in some visits and leave others empty.
A visit without priority has the lowest priority. It is planned last.
Visits with the same priority form a group. The system optimizes the order of stops inside the group, for example to make the route shorter. Groups with a smaller number always go first.
Each digit is the priority of one visit, from top to bottom in the file. Brackets mark a group of visits with the same priority.
ExampleSequence of visitsWhat it means
123451 → 2 → 3 → 4 → 5Strict order. Each stop has its own place.
112245(1 1) → (2 2) → 4 → 5Groups. The system optimizes the order inside each group.
1111116(1 1 1 1 1 1) → 6Six visits in one group. The last visit always goes last.
1111111(1 1 1 1 1 1 1)One group. This works like normal optimization.
111111__(1 1 1 1 1 1) → (no priority)Visits without priority go last.

Option 1. Set priority for one visit#

1
Open the visit
Go to Planning, open the plan, and select the visit.
2
Enter the priority
Enter a number from 1 to 999 in the Priority field.

Option 2. Load priorities from a file#

You can load all visits at once, with the priority and the vehicle.
1
Prepare the file
Add these columns to your Excel file: plate (vehicle plate number) and Priority (number from 1 to 999). You can leave some cells empty.
2
Upload the file
Go to Planning, open the plan, and open the visits list. Click Upload file and select the file.
3
Map the columns
In the Mapping window, map the plate column to Plate and the Priority column to Priority. Check that Entity is Visit. Then click APPLY.
02-mapping-plate-priority.png
4
Check the vehicles
Visits with a plate are assigned to the vehicles from the file right away.
How the system selects the vehicle:
If a vehicle with this plate exists in the Vehicles list, the system uses it.
If it does not exist, the system creates a new vehicle with this plate.
Visits without a plate stay in Unserved.
A new vehicle has no title and no warehouse. Open Company > Vehicles to fill in these fields.

Plan by priority#

1
Select Priority
Open the plan settings. In Optimization preference, select Priority.
2
Click Optimize
Each vehicle gets its stops in the order of priority.
04-route-order.png
💡
Priority changes the order of stops, not the choice of vehicle. The vehicle comes from the Plate column.

Reset and load again#

Reset moves all visits to Unserved. The priorities stay in the visits. The vehicles from the file are not saved.
To assign visits to the vehicles from the file again, delete the visits and upload the file again.

Visits without a plate#

If the file has visits without a plate, they stay in Unserved. To plan them:
1.
Add a vehicle to the plan.
2.
Select Optimize, Time, or Visits in Optimization preference.
3.
Click Optimize.
If you use Priority after Reset, the system puts visits on the first vehicle until its working time ends. The remaining visits stay in Unserved. So after Reset, use Optimize, Time, or Visits, or upload the file again.
Modified at 2026-11-25 14:15:23
Previous
Get Countries
Built with