Method
GET /v1/products/:id/transport/configs
Path Parameters
Product ID whose transport configs should be listed.
Headers
Bearer token (requires
products:read).curl "https://api.voyantcloud.com/v1/products/prod_123/transport/configs" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": [
{
"id": "cfg_001",
"product_id": "prod_123",
"key": "default-coach",
"name": "Coach transfer",
"description": "Coach transfer between airport and hotel",
"created_at": "2025-01-05T10:22:41.000Z",
"updated_at": "2025-01-07T09:13:02.000Z",
"legs": [
{
"id": "cfg_leg_001",
"config_id": "cfg_001",
"seq": 1,
"mode_id": "mode_bus",
"operator_org_id": "org_transport",
"from_place_id": "ChIJ8UNwppk4j4ARzWPaN9xq_9o",
"to_place_id": "ChIJGaK-SZcYtUYR0Y1DSXB6QrM",
"airline_code": null,
"flight_number": null,
"cabin_class": null,
"fare_class_code": null,
"duration_minutes": 45,
"luggage": { "checked_bag": 1 }
}
]
}
]
}
List reusable transport configuration templates for a product.
GET /v1/products/:id/transport/configs
products:read).curl "https://api.voyantcloud.com/v1/products/prod_123/transport/configs" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": [
{
"id": "cfg_001",
"product_id": "prod_123",
"key": "default-coach",
"name": "Coach transfer",
"description": "Coach transfer between airport and hotel",
"created_at": "2025-01-05T10:22:41.000Z",
"updated_at": "2025-01-07T09:13:02.000Z",
"legs": [
{
"id": "cfg_leg_001",
"config_id": "cfg_001",
"seq": 1,
"mode_id": "mode_bus",
"operator_org_id": "org_transport",
"from_place_id": "ChIJ8UNwppk4j4ARzWPaN9xq_9o",
"to_place_id": "ChIJGaK-SZcYtUYR0Y1DSXB6QrM",
"airline_code": null,
"flight_number": null,
"cabin_class": null,
"fare_class_code": null,
"duration_minutes": 45,
"luggage": { "checked_bag": 1 }
}
]
}
]
}
seq. Use the key field to reference a config when applying templates in your own workflows.