Delete Voucher

DELETE https://api.e-guma.ch/v1/vouchers/{code}.json?apikey={api-key}

Parameters

code
required

The alphanumeric code of the voucher. The code has 12 characters.
You can pass the code with (e.g. ABCD-ABCD-ABCD) or
without (e.g. ABCDABCDABCD) dashes.

api-key
required

Example

DELETE https://api.e-guma.ch/v1/vouchers/ABCD-ABCD-ABCD.json?apikey=510e32c594d84816a4af9df1
{
}
Voucher with code 65CA-WR4T-88V8 and mandant 2 not found!