List of voucher types

GET https://api.e-guma.ch/v1/voucher_types?apikey={api-key}

Parameters

api-key
required

Response

idThe ID of the voucher type
nameName of the voucher type in all available languages
publishedHas the voucher type been published?

Example

GET https://api.e-guma.ch/v1/voucher_types?&apikey=5bb668e394f2811f3ca4a9db
[
    {
        "id": "e7cc8dc1-15b6-4f3a-89d4-20e0cfa19d01",
        "name": {
            "de": "Wertgutschein",
            "fr": "Bon cadeau valeur",
            "en": "Value voucher"
        },
        "published": true
    }
]