improved
Multiple inventory types in API response
2 days ago by TTG Engineering
There are an increasing number of shows that offer a mix of general admission (freesell) and allocated (PYOS) tickets for different areas of their productions. This is supported by the inventory APIs - but it's important to check the mode of the inventory for each area and handle correctly.
eg.
"response": {
"displayCurrency": "GBP",
"availableCount": 5,
"areas": [
{
"availableCount": 7,
"date": "2025-07-03T19:45:00+0100",
"partTwoDate": null,
"name": "Block G",
"mode": "allocated",
...
},
{
"availableCount": 32,
"date": "2025-07-03T19:45:00+0100",
"partTwoDate": null,
"name": "Block H",
"mode": "freesell",
...
},
We had updated the inventory API documentation to clarify this.
https://developers.todaytixgroup.com/update/reference/inventory-overview#/