Skip to main content

Delete Trip

DELETE 

/api/crm/trips/:trip

Delete a trip. Its planned visits are cancelled unless keep_visits=1, which keeps them as ordinary planned visits off the trip. Completed visits always stay in the customer's history.

Required scope: customers:write

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

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

Returns 422 naming the visits when the change would cancel, detach or reassign planned visits you do not manage.

Request​

Responses​

OK

Response Headers
    Content-Type