Markdown Text for UPAs
This feature can be enabled in the API request by including:
"control": {
"features": [
"markdown_text"
]
}
The Markdown Text for UPAs feature provides a valuable additional source for UPA description
s and UPA Photo caption
s, which provide more formatting options in UPA text including spacing, bullet points, bold/italics/underline, font size, etc.
The Markdown Text fields - description_md
and caption_md
- are provided alongside the existing description
and caption
fields, and contain the raw Markdown Text.
This is an example response for a single UPA that has the description_md
and caption_md
fields:
{
"data": {
...
"upa": [
{
...
"categories": [
"ancillary-seats"
],
"description": "Purchase Economy Plus after booking your flight and sit near the front of the cabin so you can exit the plane easier at your destination.",
"description_md": "# Economy Plus",
"headline": "More room, comfort and convenience",
"id": "240867",
"large_icon_url": "https://upamedia.atpco.net/icons/c2e128dd-6943-4fed-a301-30a21b5c78d2/large/Seat.png?channel_id=ATPCO",
"photos": [
{
"caption": "Purchase Economy Plus after booking your flight and sit near the front of the cabin so you can exit the plane easier at your destination.",
"caption_md": "Purchase **Economy Plus**",
"large_url": "https://upamedia.atpco.net/photos/c80a8bc4-7bd4-4c6d-8d2f-7b295be3d42a/large/expiration-date-april-24-2024-2.jpg?channel_id=ATPCO",
"media_type": "photo",
"medium_square_url": "https://upamedia.atpco.net/photos/c80a8bc4-7bd4-4c6d-8d2f-7b295be3d42a/large_square_thumb/expiration-date-april-24-2024-2.jpg?channel_id=ATPCO",
"thumb_url": "https://upamedia.atpco.net/photos/c80a8bc4-7bd4-4c6d-8d2f-7b295be3d42a/square_thumb/expiration-date-april-24-2024-2.jpg?channel_id=ATPCO",
"url": "https://upamedia.atpco.net/photos/c80a8bc4-7bd4-4c6d-8d2f-7b295be3d42a/expiration-date-april-24-2024-2.jpg?channel_id=ATPCO"
}
],
"source": "airline",
...
},
],
...
},
"itineraries": [
...
],
...
}