Skip to main content

Method

GET /v1/products/:id/transport/configs/:configId/addons

Path Parameters

id
uuid
Product ID that owns the transport config.
configId
uuid
Transport config ID.

Headers

Authorization
string
Bearer token (requires products:read).

Request Example

curl "https://api.voyantcloud.com/v1/products/prod_123/transport/configs/cfg_001/addons" \
  -H "Authorization: Bearer $VOYANT_API_KEY"

Response

{
  "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.