Skip to main content

Get Trip

GET 

/api/crm/trips/:trip

Get a trip with its stops grouped by day, Google Maps directions links per day (split into parts of at most 9 waypoints; a geocoded stop is sent as lat,lng, otherwise as its address) and a summary of quotes and orders raised from its visits and their outcomes.

Required scope: customers:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token with the customers scope and the CRM trips view permission.

Trips are visible to their owner, to the sales rep's own user, and to users who may view all CRM activities; any other trip returns 404.

summary.documents_totals lists the raised value per currency; amounts are never added across currencies. summary.documents_total and summary.currency_code are set only when every document shares one currency (documents_total is 0 when there are none, and null when currencies are mixed).

Request​

Responses​

OK

Response Headers
    Content-Type