Adding and Updating Inventory

You typically use <Result> elements in a
Transaction message to set or update
room prices and define available inventory. These elements usually reference
pre-defined data for descriptions of the rooms and Room Bundles using metadata
that you define in a separate Transaction message.

How and how often you update your inventory depends on your
delivery mode.

The following example shows a <Result> element that
defines the inventories and prices for two rooms:

Not shown in this example is the information about the room, such as a description,
a picture URL and caption, the room's name, and its capacity. You can define that
information once in a separate Transaction message that Google stores. You can then
reference it by the RoomID in all subsequent pricing and inventory updates. For
more information, see Defining room and package metadata.

In addition to defining prices for itineraries, you also use the <Result>
element to do the following: