Method
GET /v1/products/:id/transport/configs/:configId/addons
Path Parameters
Product ID that owns the transport config.
Transport config ID.
Headers
Bearer token (requires
products:read).curl "https://api.voyantcloud.com/v1/products/prod_123/transport/configs/cfg_001/addons" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"existing": [
{
"id": "addon_001",
"name": "Extra checked bag (23kg)",
"pricing": { "type": "per_pax", "price": 40, "currency": "EUR" },
"required": false,
"selectable": true
}
],
"suggestions": [
{
"name": "Upgrade to Premium Economy",
"pricing": { "type": "per_pax", "price": 120, "currency": "EUR" },
"required": false,
"selectable": true
}
]
}
List configured and suggested addons for a transport config.
GET /v1/products/:id/transport/configs/:configId/addons
products:read).curl "https://api.voyantcloud.com/v1/products/prod_123/transport/configs/cfg_001/addons" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"existing": [
{
"id": "addon_001",
"name": "Extra checked bag (23kg)",
"pricing": { "type": "per_pax", "price": 40, "currency": "EUR" },
"required": false,
"selectable": true
}
],
"suggestions": [
{
"name": "Upgrade to Premium Economy",
"pricing": { "type": "per_pax", "price": 120, "currency": "EUR" },
"required": false,
"selectable": true
}
]
}
pricing.type values vary by addon (e.g., per_pax, flat). Suggestions are sample configurations you can use to pre-populate your UI.