Documentation
getcomision
returns the commission assigned to a specific tour
endpoints
production
https://newapi.vpttours.com/getcomision
Request parameters
logindata
[object]
User access credentials.
Required fields:
- useremail
- userpass
- integrator_token
requestdata
[object]
Request parameters for the commission query.
Required fields:
- brochure → Brochure or catalog code
- code → Tour code
Example:
{
"logindata": {
"useremail": "****",
"userpass": "***",
"integrator_token": "XXXXXX"
},
"requestdata": {
"brochure": "242",
"code": "12020"
}
}
Response data
[object]
Commission information assigned to the requested tour.
Each field includes:
Each field includes:
- id_comis (string) — Internal commission identifier
- codtarif (string) — Rate or tariff code
- comision (string) — Commission percentage
- descuento (string) — Discount percentage, if applicable
- fecdesde (string, YYYY-MM-DD) — Start date of commission validity
- fechasta (string, YYYY-MM-DD) — End date of commission validity
Example response:
{
"id_comis": "5387",
"codtarif": "AH",
"comision": "30.00",
"descuento": "20.00",
"fecdesde": "2025-10-30",
"fechasta": "2025-11-04"
}
notas
Dates are in YYYY-MM-DD format.
The endpoint is only available for authenticated users with valid credentials.