home > support > API > Marketplace API > useful information

Useful information & assorted notes

Making products available to the API

This section is for Suppliers only, Partners can jump straight down to "Usage throttling".

The following criteria must be met before a Tour/Hotel will be available via the API:

  1. Account settings
    1. You must upgrade to a paid TourCMS account if you haven't done so already
    2. You must configure at least one of your websites for the TourCMS Marketplace. To do this log in to TourCMS, head to TourCMS Marketplace, click Configure and fill in the required details
    3. You must switch on the API. To do this head to Configuration & setup > API and tick Enable and then Save changes
  2. Individual product settings
    1. The Tour/Hotel must be switched on for onlnine bookings (in the Setup page for the Tour, under the General tab)
    2. The Tour/Hotel must be switched on distribution by the TourCMS Marketplace (in the Setup page for the Tour, under the General tab)
    3. The Tour/Hotel must have all the basic Marketplace information completed. To see which information you still need to fill in for a particular Tour just head to Tours/Hotels in TourCMS then click Descriptions & Images for the Tour and look on the Incomplete data tab

Additionally some API calls will - by default - only return products that have availability loaded.

The TourCMS Marketplace page inside TourCMS will be useful as you progress loading your products, it shows which of your products are Live in the Marketplace (so should show up in API calls) and which are Not distributed or Incomplete.

Product Page URLs

If Tours are switched on for the Marketplace and have all the required data completed but are not appearing in API searches or on widgets it could be that your Product Page URLs have been set incorrectly. To ensure quality TourCMS periodically checks each Tour/Hotel Product Page URL and if the page cannot be found the item will be hidden from the API until the URL is updated or the page is back online.

If this is the case when you head to TourCMS Marketplace you will see a box listing the Product Page URLs with problems and quick links to fix them, we will also send occasional emails to account owners notifying them of the problem.

In some cases this may cause a Catch-22 situation, whereby you are developing a new Operator website using the XML API or WordPress / Joomla plugins, in this case you should set a temporary product page URL that points to a holding / home page on your website and then update once the correct pages exist.

Usage throttling

API use is restricted to 2000 GET calls per hour, POST is unlimited.

If you are a marketplace partner this is 2000 calls per channel per hour (i.e. lots!) We reserve the right to alter this limit based on usage patterns. Current usage status is returned in the header:

X-RateLimit-Limit the current limit in effect
X-RateLimit-Remaining the number of hits remaining before you are rate limited

You can also call the Rate Limit Status method to find your current remaining number of hits, calls to this method do not count towards your limit.

Result formats

Data format

Images

Unique product IDs

There are 3 core IDs that you will see returned in the data:

Hence if you care about removing duplicate tours, filter by a combination of Account ID / Tour ID.

Unique booking / customer IDs

There are 3 core IDs that you will see returned in the data:

Additional Information for Marketplace partners

Permissions

Permissions are set by the TourCMS account owner. All partners can see dates, prices, availability & create new bookings (via API and booking engine) and create enquiries (via API)

Granular permissions
Level Description
1 - Sell only For advertisers

  • See products, dates, prices & availability
  • See clicks
  • Create enquiries (Via API)
  • Create bookings (Via API and via booking engine)
Generally used when a tour operator/supplier wants someone to promote their product but if they are paying an annual listing fee (rather than on a success basis) they don't want to disclose how successful the advertising has been.
2 - Summary statistics For agents/affiliates (DEFAULT)

  • See basic booking / customer information - Lead customer name, travel dates, sale value & commission (if set)
  • See own enquiries
  • .... and also all actions that 1 can do
Designed where you don't want to over disclose customer personal information e.g. with an affiliate who only referred you web traffic (that subsequently turned into a booking) rather than an actual customer booking
3 - Full detailFor travel agents

  • See name, address, full details for all customers on the booking
  • See list of payments
  • See customer special requests
  • See customer travel insurance details
  • See booking summary (e.g. the same as %summary_sale_table%)
  • .... and also all actions that 1 and 2 can do
You can disclose the customer information to the agent at this permission level as the chances are they gave you the booking in the first place hence already have that information.

Agents will will NOT see profit margin, costs or which suppliers have been used.


i.e. Generally affiliates/partners can see and sell product. Agents can see bookings/enquiries.
Tour operators can see and alter customer / booking data

Seeing no data

Testing

Knowing when tour/hotel descriptions change

Some partners maintain their own version of the tour/hotel text descriptions. The descriptions_last_updated field (on the tour/hotel) can be used to check when the supplier/tour operator last changed their description

Bookings, enquiries etc

A booking is date/product specific. An enquiry is a request such as a lead, contact us, phone back, brochure request etc.

Enquiries are much simpler and if you don't want to spend too much time in development, use enquiries

When an enquiry is put into TourCMS if a member of staff subsequently uses that customer record to manually create a booking, the correct agent tracking (and commission etc) will be applied to the new booking

Taking bookings

Using the various API calls it is possible to completely obscure that TourCMS is being used. Or send trafic to the supplier's website or down their booking engine (that you can brand as your own)

© 2003-2012 Travel UCD Limited. All rights reserved. TourCMS® is a registered trademark of Travel UCD Limited, United Kingdom. View Privacy policy.