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

Sparse fields

fields[trips]
Body Params

Input sent to Avinode to cancel a trip or RFQ

string

A unique identifier for this resource

string

The type of resource

string

A URI at which this resource may be read

string

Any message to the seller

string
enum

What is the reason for the cancellation ?

Allowed:
actions
object
links
object
Headers
string

ISO8601 Timestamp

string

API Token

string

Calling product / software (ex: AcmeApp-v10.2)

string

Account id if action on behalf of

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