Cancel a trip

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

When calling upon this endpoint, the whole trip and all its associated RFQs will be canceled and a cancellation message, along with a reason, should be sent to the seller/operator in the request body payload.

📘

Remember the username

This operation supports sending an Avinode user account login in the header "X-Avinode-ActAsAccount". Sending a username/login will let the operator see the corresponding first and last name in Avinode Trips pages as well as in the reply emails, for a more personal touch.

Not sending this header we will default to display the company name instead.

Read more about this request header here.

Cancel a Trip Example

{
  "id": "atrip-1000000137",
  "messageToSeller": "Sorry, we will have to cancel this trip.",
  "reason": "OTHER"
}

Please note: The “reason” should be one of the following:

  • “BY_CLIENT”
  • “CHANGED”
  • “BOOKED”
  • “OTHER”
Path Params
string
required
Query Params
fields[trips]
array of strings
fields[trips]
Body Params

string
string
string
string
string
enum
Allowed:
actions
object
links
object
Headers
string
string
string
string
Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json