Syntax

listVouchers()

Returns a list of voucher codes.

Access rights

Read access or full access required.

Arguments

none

Return data

[data] => Array
        (
            [coupons] => Array
                (
                    [0] => Array
                        (
                            [first_rate] => 0.00
                            [other_rates] => 0.00
                            [id] => 2477
                            [code] => EinGutscheinCode
                            [valid_until] =>
                            [expires_at] =>
                            [product_ids] => all
                            [first_amount] => 10.00
                            [other_amounts] => 5.00
                            [upgrade_policy] => valid
                            [is_count_limited] => N
                            [count_left] => 1
                            [currency] => EUR
                            [is_discarding_early_bird] => N
                        ),
                    [1] => Array
                        (
                            [first_rate] => 0.00
                            [other_rates] => 0.00
                            [id] => 2477
                            [code] => EinAndererCode
                            [valid_until] =>
                            [expires_at] =>
                            [product_ids] => all
                            [first_amount] => 10.00
                            [other_amounts] => 5.00
                            [upgrade_policy] => valid
                            [is_count_limited] => N
                            [count_left] => 1
                            [currency] => EUR
                            [is_discarding_early_bird] => N
                        )

                )

            [are_returned_data_public] => N
        )