Documentation
buscatours
Returns every tour that matches the request filters.
This should be the main way of finding available tours. If no filter is provided all tours will be returned.
⚠️ Please always use this endpoint with a
catalog
code, as shown in the example below. Otherwise, the response may be too large and significantly slower to process on the server side.
{
"logindata": {
"useremail": "{{vpt_login}}",
"userpass": "{{vpt_pass}}"
},
"requestdata": {
"catalog": 202503,
"language": "1"
}
}
endpoints
production
https://newapi.vpttours.com/buscatours
request parameters
name
[string]
Tour name filter. If various words are provided the search will be made word by word, in the "or" way.
minprice
[int]
Minimum tour price.
maxprice
[int]
Maximum tour price.
cities
[array:int]
List of city codes that the tour must pass through. If various are provided, the search will be made in the "and" way.
brochures
[array:int]
List of brochure codes the tour must belong to. If various are provided, the search will be made in the "or" way.
catalogs
[array:int]
List of catalogs codes the tour must belong to. If various are provided, the search will be made in the "or" way.
language
[int]
Language code in which we want to make the request.
response data
[array:tourlite]
List of tourlites that matches the request filters.