Common Rate means all rates will be the same regardless of occupancy. Some suppliers will have Common Rate (which is not typical) and regardless of the occupancy, the rate will be the same as seen below (no adult, child count indicated). There is no occupancy breakdown, just one price.

  "rates": {
      "amountAfterTax": [
          120,
          120
      ],
      "type": "CommonRate"
  },


For Occupancy Rate, the rate will vary based on Adult Count, Child Count, Child Age, and Total Occupancy.

For occupancy rate, you will see a price breakdown for each occupancy combination (adult, child count). Below is an example.

"rates": {
    "type": "OccupancyRate",
    "rates": [
      {
        "adultCount": 1,
        "childCount": 0,
        "amountBeforeTax": [
          154.08
        ]
      },
      {
        "adultCount": 1,
        "childCount": 1,
        "amountBeforeTax": [
          154.08
        ]
      },
      {
        "adultCount": 1,
        "childCount": 2,
        "amountBeforeTax": [
          154.08
        ]
      },
      {
        "adultCount": 1,
        "childCount": 3,
        "amountBeforeTax": [
          154.08
        ]
      },
      {
        "adultCount": 2,
        "childCount": 0,
        "amountBeforeTax": [
          154.08
        ]
      },
      {
        "adultCount": 2,
        "childCount": 1,
        "amountBeforeTax": [
          154.08
        ]
      },
      {
        "adultCount": 2,
        "childCount": 2,
        "amountBeforeTax": [
          154.08
        ]
      },
      {
        "adultCount": 3,
        "childCount": 0,
        "amountBeforeTax": [
          166.08
        ]
      },
      {
        "adultCount": 3,
        "childCount": 1,
        "amountBeforeTax": [
          166.08
        ]
      },
      {
        "adultCount": 4,
        "childCount": 0,
        "amountBeforeTax": [
          178.08
        ]
      }
    ]
  },


Child Price by age is a new feature of GO v4.7 that can support both supplier and distributor on multiple child age rates.

Go now can support four Business scenarios on Child price by age by using the new adding attribute childRateType. 

Value
Description

Normal

Hotels can set up adult and child combination rates.

ByAge

Hotels can provide extra child prices in an age range in different products.

Free

Hotel remark as Childfree.

AsAdult

Remark Child price as Adult.


For GO suppliers, you can set up the rules in AgencyUSB& ExtranetUSB Hotel API, and combine them with the attribute extraChilaRates in Rate model OccupancyRate to provide completed child prices.


We will replace the current two attributes freeChildAge and childPriceRules at the same time. You can find more details in the Go API spec section.