buy_uid
.buy_id
(string): Represents the unique ID associated with the offer. You can take it from /api/air/offers, for example, response.data.offers[0].offers[0].segments[0].buy_id{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"availability": {
"type": "boolean"
},
"gds": {
"type": "string"
},
"request_id": {
"type": "integer"
},
"popup_message": {
"type": "string"
},
"allow_cyrillic": {
"type": "boolean"
},
"buy_id": {
"type": "string"
}
}
}
curl --location -g --request GET 'https://stage-api.etm-system.ru/api/air/offers/{{buy_uid}}/info' \
--header 'Accept: application/json' \
--header 'Etm-Auth-Key: ' \
--header 'Content-Type: application/json'
{}