Cancel a trip

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”
Language
Authorization
Header
URL
Click Try It! to start a request and see the response here!