Backend
Backend for B2B Collection — trip logistics under b2b-logistics in crelio-app
B2B Collection — Backend
This section documents crelio-app pieces that power B2B organization-site logistics: the trip management module with trip_type = b2b-logistics, B2BTrip, locations, routes, and field/mobile integrations.
Scope
Backend docs here cover trip management for b2b-logistics only.
Unrelated booking or visit persistence elsewhere in the monolith is out of
scope, except where the shared Trip table contrasts trip_type
values.
Sections
Overview
Trip types, URL mounting, auth, key packages
Data model
Trip, B2BTrip, related trip-location concepts
Database schema
Tables, columns, and relationships for trip_management (B2B logistics)
API Reference
URL patterns for api-v3 trip-management (b2b-logistics)
Business flows
Trip lifecycle, distance calculation, mobile trail