Workflow Guide

Configure organization stops, routes, and logistics trips for B2B sample collection

👤 Utsav Katiyar📅 Updated: Apr 7, 2026🏷️ feature

Workflow Guide

This page covers the B2B Collection workflow: organization sitesroutestripsmonitoring.


1. Enable access

Ensure the lab has b2b_collection enabled so Registration → B2B Collection appears for logistics staff.


2. Define stops (organization locations)

Navigate to Registration → B2B Collection → Route Management.

  1. Create stops — named locations (typically B2B client / organization sites) with address, coordinates, and contact details.
  2. Stops are stored via trip-management APIs: api-v3/trip-management/b2b-logistics/location/… and reused across routes.

Organizations

Stops can be linked to an organization record where the product supports it, so routes reflect real client sites.


3. Build routes

Under Route Management:

  1. Create a route: an ordered list of stops with segment distances.
  2. Edit, copy, or disable routes from the grid (soft-disable via PATCH where applicable).

A route is a reusable path template; execution happens when you schedule a trip.


4. Plan trips

Navigate to Registration → B2B Collection → Trip Management.

  1. Filter by date range and optional trip status (pending, in progress, completed, cancelled, etc.).
  2. Create trip — choose a pickup partner, schedule the run, and attach ordered trip locations (stops).
  3. Recurring / series — multiple scheduled instances use POST …/trips/new/bulk when the UI sends scheduled_trips.
  4. Edit or cancel — single occurrence vs whole series (update vs update/bulk).

Pickup partners come from api-v3/trip-management/b2b-logistics/pickup-persons/list.


5. Monitor a trip

  1. Open Trip details from the list (URL includes tripId and date range for context).
  2. Review per-stop status, comments, and any sample summaries returned by the API.
  3. TrailGET …/trips/{tripId}/{pickupPersonId}/trail for path history and maps.

On this page