TourCMS, a leading online booking and channel management solution is operated by Palisis.

Contact Info

Palisis AG
Florastrasse 18A
8610 Uster
+41 44 533 40 40

Follow Us

home > support > API > Marketplace API > managing dates & prices externally > delete departure

Delete departure

Delete a departure from a Tour

Part of a series of API calls intended largely for managing dates and prices outside of TourCMS

For Tour Operator usage only (not accessible by Marketplace Agents).

REST info


Code samples

PHP examples use the PHP Client Library with SimpleXML


object delete_departure ( int $departure, int $tour, int $channel )


ID for the departure to delete
The Tour that the departure belongs to
The Channel that the tour belongs to


// Set our Channel ID
$channel = 3930;

// Set the ID for the Tour that this departure belongs to
$tour_id = 1;

// Set the ID for the departure to delete
$departure_id = 3191;

// Query the TourCMS API, deleting the departure
$result = $tourcms->delete_departure($departure_id, $tour_id , $channel);

if($result->error == "OK") {
	print "Departure deleted";
} else {
	print $result->error;
Departure deleted

C# examples use the .Net Client Library

Coming soon

VB examples use the .Net Client Library

Coming soon

Querystring parameters

Querystring parameters
idTour ID
departure_idID of departure to be deleted

The Channel ID is also passed via the request header.

Response fields

Response fields
XML NodeNotes
request Confirmation of the request that you sent
error Any error message returned, if there is no error this will just contain the text OK.

A tour node containing the following:

XML NodeNotes
account_idAccount ID
channel_idChannel ID
tour_idTour ID
departure_idDeparture ID

More information