Prices

Prices in the API are included in two different ways:

  1. Within the imin:aggregateOffer object (included in the search results and By-ID results); and

  2. Within subEvent[].offers array (only included in the By-ID results).

Prices and imin:aggregateOffer

The imin:aggregateOffer object, which is included in both the search results and By-ID results, includes the two most popular price types (where they are included in the open data): adult and junior.

Example

"imin:aggregateOffer": {
    "type": "imin:AggregateOffer",
    "publicAdult": {
        "type": "AggregateOffer",
        "price": 4.3,
        "priceCurrency": "GBP",
        "imin:membershipRequired": false
    },
    "publicJunior": {
        "type": "AggregateOffer",
        "price": 3.3,
        "priceCurrency": "GBP",
        "imin:membershipRequired": false
    }
},

Prices and subEvent[].offers

The subEvent[].offers array, which is only included in the By-ID results, includes all the price types available within a provider's open data feed, including concessionary prices.

Some objects will include an offers[].ageRange object, which will provide age restrictions against a particular concessionary price, for example, a price for seniors might have an ageRange with a minValue of 50.

Example

Last updated