Skip to main content
Detrack logo
  • Category: internet of things
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 19
  • Triggers: 0
  • Slug: DETRACK
  • Version: 20261101_00

Tools

Slug: DETRACK_ADD_COLLECTIONAdd a new collection job in Detrack. A collection is a pickup job where items are collected from a location. The Delivery Order (do) number must be unique per date. Include the country name in the address for better geocoding.

Input Parameters

string
required
Delivery Order number - must be unique per date. This serves as the tracking identifier.
string
required
Date of the collection job in YYYY-MM-DD format
string
Zone or region classification for the collection
array
List of items to collect. Each item requires sku, desc, and qty.
string
Phone number of the collection contact
string
required
Full address of the collection location. Include country name for better geocoding accuracy.
string
Vehicle name or identifier to assign this collection to
string
Webhook URL to receive collection status updates
string
Name of the sender or company to collect from
string
Special instructions for the driver
string
Email address to send collection status notifications
string
Time window for collection (e.g., ‘09:00 AM - 12:00 PM’ or ‘14:00’)

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_CREATE_BULK_DEPOTSTool to create multiple depot locations in one request. Use when you need to create several depots at once. Each depot requires at least a name and an address that can be geocoded. Include country name in addresses for accurate geocoding.

Input Parameters

array
required
List of depot data objects to create. Each depot requires at least a name and address.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_CREATE_DEPOTCreate a new depot in Detrack. A depot serves as a starting/ending point for delivery routes. Requires at least a name and an address that can be geocoded. The address should be complete and include the country name for accurate geocoding.

Input Parameters

object
required
Depot data containing name, address, and optional fields.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_DELETE_ALL_COLLECTIONSTool to delete all collections in the account. Use when you need to purge every collection for a specific date after confirmation.

Input Parameters

string
required
The collection date in YYYY-MM-DD format, e.g., ‘2014-02-28’.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_DELETE_ALL_DELIVERIESTool to delete all deliveries for a specific date. Use when you need to purge deliveries in bulk before scheduling new ones.

Input Parameters

string
required
The delivery date to delete all deliveries for. Format: YYYY-MM-DD.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_DELETE_DELIVERYTool to delete one or more deliveries by date and D.O. number. Use after confirming delivery entries to avoid accidental data loss (max 100 items per call).

Input Parameters

array
required
List of deliveries to delete; must contain between 1 and 100 items

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_DELETE_DEPOTS_BULKTool to delete multiple depots in a single request. Use when you need to remove depots that are no longer needed.

Input Parameters

array
required
List of depots to delete; each depot identified by its name

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_DELETE_JOB_BY_QUERYDelete a delivery or collection job by its DO number, optionally narrowing the lookup by date and job type. The result reports when the job is not found; a successful result indicates that the deletion request succeeded, rather than independently confirming the deletion.

Input Parameters

string
Optional date filter in YYYY-MM-DD format to narrow down the job lookup.
string ("Delivery" | "Collection")
Job type enumeration for delivery or collection jobs.
string
required
Delivery Order (DO) number to identify the job to delete. Must be unique.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_EDIT_DELIVERYEdit one or more existing deliveries by date and D.O. number. Use this tool to update delivery details such as address, recipient, phone, instructions, or vehicle assignment. The delivery must already exist in Detrack (identified by date + D.O. number combination). Limitations: - Maximum 100 deliveries per request - Date and D.O. must match an existing delivery

Input Parameters

array
required
List of delivery records to update (1 to 100 items)

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_GET_JOB_BY_DO_AND_DATETool to retrieve a specific job by its DO (Delivery Order) number and date. Use when you need to fetch detailed information about a specific delivery or collection job. Returns comprehensive job details including status, tracking, items, and proof of delivery information.

Input Parameters

string
required
Date of the job in YYYY-MM-DD format. This must match the scheduled date of the job.
string ("Delivery" | "Collection")
Job type enum for filtering jobs.
string
required
Delivery Order (DO) number to retrieve. This is the unique identifier for the job on the specified date.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_GET_JOB_BY_QUERYTool to retrieve a single job by DO number using query parameters. Use when you need to fetch detailed information about a specific delivery or collection job.

Input Parameters

string
Date filter in YYYY-MM-DD format. Use to narrow search if DO number is not unique.
string ("Delivery" | "Collection")
Job type enum for Detrack.
string
required
Delivery Order (DO) number to retrieve the job.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_LIST_DEPOTSTool to list all depot locations with pagination. Use when you need to retrieve depot information including addresses and coordinates. Supports pagination to handle large numbers of depots.

Input Parameters

integer
Page number for pagination. Defaults to 1.
integer
Number of records per page. Defaults to 20.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_LIST_JOBS_V2Tool to list jobs with pagination and filtering using Detrack API v2. Use when you need to retrieve jobs with filters by date, type, assign_to, status, DO number, or search query. Supports sorting and pagination for efficient data retrieval.

Input Parameters

string
Filter jobs by date in YYYY-MM-DD format.
integer
Page number for pagination. Defaults to 1.
string
Attribute to be sorted. Add minus (-) prefix for descending order (e.g., ‘-date’ for descending date, ‘date’ for ascending).
string ("Delivery" | "Collection")
Enum for job type filter.
integer
Number of records per page. Maximum 100. Defaults to 20.
string
Search query to filter jobs by DO number, address, delivery to, notify email, assign to, tracking number, or zone.
string
Filter jobs by status. Use comma to separate multiple statuses (e.g., ‘Completed,In Progress’).
string
Filter jobs by the vehicle/driver assigned to the job.
string
Filter jobs by Delivery Order (DO) number.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_SEARCHSearch for delivery or collection jobs using supplied criteria, with pagination and ordering options.

Input Parameters

object
required
Query object containing search criteria. Supported keys: ‘date’ (YYYY-MM-DD format), ‘do’ (delivery order number), ‘type’ (‘delivery’ or ‘collection’), ‘status’ (e.g., ‘In Progress’, ‘Completed’), ‘tracking_status’ (e.g., ‘info_recv’, ‘on_vehicle’), ‘address’, ‘name’, ‘zone’.
integer
Page number for pagination (1-based). Defaults to 1.
integer
Number of jobs to return per page.
string ("ASC" | "DESC")
Sorting order: ASC (ascending) or DESC (descending).
integer
Number of jobs to skip (for pagination).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_SEARCH_JOBSSearch jobs using the Detrack v2 search API with a date range, general query, status, job type, or assigned driver. Results are paginated.

Input Parameters

integer
Page number for pagination. Defaults to 1.
string
Filter jobs by type: ‘delivery’ or ‘collection’.
integer
Number of records per page. Maximum 100. Defaults to 20.
string
General search query string to search across job fields like DO number, address, customer name, etc.
string
Filter jobs by status. Common values include ‘completed’, ‘failed’, ‘in_progress’, ‘pending’.
string
End date for date range filter in YYYY-MM-DD format. Returns jobs scheduled up to this date.
string
Filter jobs by assigned driver name or ID.
string
Start date for date range filter in YYYY-MM-DD format. Returns jobs scheduled from this date onwards.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_UPDATE_DEPOTS_BULKUpdate multiple depot locations in a single request. Each depot requires a name; updates can include an ID, address, contact information, or coordinates.

Input Parameters

array
required
List of depot records to update. Each depot must have at least a name.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_VIEW_ALL_COLLECTIONSView all collection jobs scheduled for a specific date in Detrack. Returns collection details including delivery order number, pickup address, status, tracking link, and items. Use this to retrieve all collections for a particular day by providing a date in YYYY-MM-DD format.

Input Parameters

string
required
The collection date to view all collections for. Format: YYYY-MM-DD (e.g., ‘2026-01-27’).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_VIEW_ALL_DELIVERIESTool to view all deliveries for a specific date. Use when you need to retrieve all delivery jobs on a given date.

Input Parameters

string
required
The delivery date to view all deliveries for. Format: YYYY-MM-DD.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DETRACK_VIEW_ALL_VEHICLESRetrieve vehicles registered in your Detrack account, including available location, speed, connection status, and vehicle details, to get an overview of your fleet. This uses Detrack’s legacy V1 API, which is no longer actively maintained and is slated for future deprecation; Detrack recommends V2.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not