Setting up trip definitions and regions > Adding a trip definition
Adding a trip definition
Each trip definition is composed of two stop definitions, shown here.
Neither stop definition is specific to just the origin or just the destination. The origin of an order must match one of the stop definitions (either one of the two), and the destination must match the other stop definition.
For example, suppose you create a trip definition for trips between Canada and the United States. It does not matter whether the trip started in one country or the other. If it started in Canada, it must have ended in the United States, or vice versa. When the rating engine compares the order with the trip definition, it looks for a match between the origin and destination with the stops defined in the trip definition. If the order's origin matches a stop defined in the trip definition but the destination does not, the trip definition is eliminated as a match. Only trip definitions that match both ends of the trip are considered comparable.